RoundablePoint.fromJson constructor

RoundablePoint.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RoundablePoint.fromJson(Map<String, dynamic> json) => RoundablePoint(
      location: (
        long: json['longitude'] as double,
        lat: json['latitude'] as double
      ),
      name: json['name'] as String,
    );