ProviderChangeEvent constructor
ProviderChangeEvent(
- Map event
Implementation
ProviderChangeEvent(Map event) {
this.enabled = event['enabled'];
this.status = event['status'];
this.network = event['network'];
this.gps = event['gps'];
if (event['accuracyAuthorization'] != null) {
this.accuracyAuthorization = event['accuracyAuthorization'];
} else {
this.accuracyAuthorization = ACCURACY_AUTHORIZATION_FULL;
}
}