callFunction abstract method
Makes a request to the given function
with the given body
and token
.
If redact
is true, the response will be redacted when logged.
Implementation
Future<Either<List<JSON>, JSON>> callFunction({required String function, required String token, JSON body = const {}, bool redact = false});