registerFutureCall method
Registers a FutureCall with the Serverpod and associates it with the specified name.
Implementation
void registerFutureCall(FutureCall call, String name) {
var futureCallManager = _futureCallManager;
if (futureCallManager == null) {
throw StateError('Future calls are disabled.');
}
_futureCallManager?.registerFutureCall(call, name);
}