Coordinate.fromJson constructor Null safety
Creates a Coordinate from a JSON List.
Implementation
factory Coordinate.fromJson(List<double> json) {
return Coordinate(json[1], json[0]);
}
Creates a Coordinate from a JSON List.
factory Coordinate.fromJson(List<double> json) {
return Coordinate(json[1], json[0]);
}