TransitStop.fromMap constructor

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

Implementation

factory TransitStop.fromMap(Map<String, dynamic> map) => TransitStop(
      name: map['name'] as String?,
      location: _getGeoCoordFromMap(map['location']),
    );