cancelFutureCall method
Cancels a FutureCall with the specified identifier. If no future call with the specified identifier is found, this call will have no effect.
Implementation
Future<void> cancelFutureCall(String identifier) async {
var futureCallManager = _futureCallManager;
if (futureCallManager == null) {
throw StateError('Future calls are disabled.');
}
await _futureCallManager?.cancelFutureCall(identifier);
}