cancel method

Future<void> cancel()

Cancel the current snapshot operation, if any. The callback passed to the start method is called with error parameter set.

Implementation

Future<void> cancel() async => _snapshotterMessenger.cancel();