GeoPoint.fromNative constructor

GeoPoint.fromNative(
  1. Map data
)

Create a GeoPoint from native data.

Implementation

GeoPoint.fromNative(Map data)
    : latitude = data['latitude'] as double?,
      longitude = data['longitude'] as double?;