stopShare method

  1. @override
Future<void> stopShare()
override

Drops the hold startShare took. Dropping one nobody holds succeeds.

Implementation

@override
Future<void> stopShare() async {
  _requireSupported();
  stopShareCalls += 1;
  final err = stopShareError;
  if (err != null) throw err;
}