Coordinates.fromJson constructor

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

Implementation

Coordinates.fromJson(Map<String, dynamic> json) {
  lat = json['lat'];
  lon = json['lon'];
}