stop method

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

Implementation

@override
Future<GeolocationState> stop() async {
  _methodCalls.add('stop');
  _state = _state.copyWith(enabled: false);
  _enabledChangeController.add(false);
  return _state;
}