Coordinate.fromMap constructor
- dynamic coordinateMap
Implementation
factory Coordinate.fromMap(dynamic coordinateMap){
return Coordinate(latitude: coordinateMap["lat"],
longitude: coordinateMap["lng"], level: coordinateMap["lvl"]);
}
factory Coordinate.fromMap(dynamic coordinateMap){
return Coordinate(latitude: coordinateMap["lat"],
longitude: coordinateMap["lng"], level: coordinateMap["lvl"]);
}