LocationChangeEvent.fromJson constructor

LocationChangeEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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