status property
GeolocationStatus
status
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!;
}
Implementation
set status(GeolocationStatus status) {
if (_status != status) {
_status = status;
notifyListeners();
}
}