stop method

  1. @override
Future<bool> stop()
override

Stop this Track if not stopped. Returns true if stopped, false if already stopped

Implementation

@override
Future<bool> stop() async {
  final didStop = await super.stop();
  if (didStop) {
    await disable();
  }
  return didStop;
}