cancel method

Future<void> cancel()

Implementation

Future<void> cancel() async {
  final url = await stop();

  if (url != null) {
    web.URL.revokeObjectURL(url);
  }
}