Point.fromJson constructor

Point.fromJson(
  1. List coords
)

Implementation

Point.fromJson(List<dynamic> coords)
    : lon = coords[0].toDouble(),
      lat = coords[1].toDouble();