NavigationFeatureGeometry.fromJson constructor

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

Implementation

NavigationFeatureGeometry.fromJson(Map<String, dynamic> json) {
  type = json['type'] as String?;

  if (json.containsKey('coordinates') && json['coordinates'] != null) {
    coordinates = List<double>.from(
      json['coordinates'] as List<dynamic>,
    );
  }
}