of static method

GeoPoint? of(
  1. double? lat,
  2. double? lon
)

Implementation

static GeoPoint? of(double? lat, double? lon) {
  if (lat == null || lon == null) return null;
  return GeoPoint(lat, lon);
}