status property

Implementation

GeolocationStatus get status {
  if (_state == null) {
    throw Exception('The controller isn\' associated to a Geolocation');
  }
  if (_status == null) {
    throw Exception('The geolocation hasn\'t been initialized yet');
  }
  return _status!;
}
void status=(GeolocationStatus status)

Implementation

set status(GeolocationStatus status) {
  if (_status != status) {
    _status = status;
    notifyListeners();
  }
}