stop method

  1. @mustCallSuper
Future<bool> stop()

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

Implementation

@mustCallSuper
Future<bool> stop() async {
  if (!_active) {
    // already stopped
    return false;
  }

  stopMonitor();

  logger.fine('$objectId.stop()');

  _active = false;
  return true;
}