call method
Functions can be called to retrieve the data.
You can specify the Post data to be called in parameters
.
Implementation
Future<T> call({DynamicMap? parameters}) async {
await FirebaseCore.initialize();
await onLoad();
final res = await functions
.httpsCallable(endpoint.split("/").last)
.call<Map>(parameters);
onCatchResponse(res);
value = fromMap(filterOnCall(fromResponse(res.data)));
notifyListeners();
await onDidLoad();
return value;
}