abort method

Future<SnapshotStatus?> abort({
  1. Map<String, dynamic>? context,
})

Aborts the current snapshot.

Implementation

Future<SnapshotStatus?> abort({Map<String, dynamic>? context}) async {
  final id = snapshotId;
  if (id == null) return null;
  return _transport.abort(id, context: context);
}