TransitTable.fromJson constructor
TransitTable.fromJson(
- Map json_
Implementation
TransitTable.fromJson(core.Map json_)
: this(
postalCodeGroupNames: (json_['postalCodeGroupNames'] as core.List?)
?.map((value) => value as core.String)
.toList(),
rows: (json_['rows'] as core.List?)
?.map((value) => TransitTableTransitTimeRow.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
transitTimeLabels: (json_['transitTimeLabels'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);