cancel method
Cancels the current task.
Calling this method will cause the task to fail. Both the delegating task Future
and stream (snapshotEvents) will trigger an error with a FirebaseException
.
Implementation
@override
Future<bool> cancel() {
return Future.value(true);
}