start method

void start()

Starts to update geolocation updates.

If the user had denied access or the service was disabled at first try, it will try again to get access to location.

Implementation

void start() {
  final state = _state;
  if (state == null) {
    throw Exception('The controller isn\' associated to a Geolocation');
  }
  assert(
      state.widget.isEnabled, 'Associated Geolocation widget is disabled.');
  state._startObservingStatus(
      state.widget.isObserving, state.widget.requestPermissionIfNeeded);
}