cancel method

Future<bool> cancel()

Cancels the current task.

Calling this method will cause the task to fail. Both the Future (onComplete) and stream (streamEvents) will trigger an error with a FirebaseException.

Implementation

Future<bool> cancel() {
  throw UnimplementedError('cancel() is not implemented');
}