LocationChangeEvent.fromJson constructor
Implementation
factory LocationChangeEvent.fromJson(Map<String, dynamic> json) {
return LocationChangeEvent(
error: json['error'],
isSuccessful: json['isSuccessful'],
location: Location.fromJson(json['location']),
);
}