GeocodedWaypoint.fromMap constructor

GeocodedWaypoint.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GeocodedWaypoint.fromMap(Map<String, dynamic> map) =>
    GeocodedWaypoint(
      geocoderStatus: map['geocoder_status'] as String?,
      partialMatch: map['partial_match'] == 'true',
      placeId: map['place_id'] as String?,
      types: (map['types'] as List?)?.mapList((_) => _ as String?),
    );