GeoPoint.fromMap constructor

GeoPoint.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GeoPoint.fromMap(Map<String, dynamic> map) {
  return GeoPoint(
    map['lat'] as double?,
    map['lon'] as double?,
  );
}