LineString.fromJson constructor
Creates a LineString from JSON data.
Implementation
factory LineString.fromJson(Map<String, dynamic> json) {
final coordinates = json['coordinates'];
return LineString(_toLatLngList(coordinates));
}
Creates a LineString from JSON data.
factory LineString.fromJson(Map<String, dynamic> json) {
final coordinates = json['coordinates'];
return LineString(_toLatLngList(coordinates));
}