GeoPointWithOrientation.fromMap constructor

GeoPointWithOrientation.fromMap(
  1. Map json
)

Implementation

GeoPointWithOrientation.fromMap(Map json)
  : angle = json.containsKey("heading")
        ? double.tryParse(json["heading"].toString()) ?? 0
        : 0,
    super(latitude: json["lat"], longitude: json["lon"]);