fromJson static method
Implementation
static TankerkoenigStationByRadiusResponse fromJson(
Map<String, dynamic> json,
) {
return TankerkoenigStationByRadiusResponse(
LatLng(
json["searchCenter"]["lat"],
json["searchCenter"]["lng"],
),
json["license"],
json["timestamp"],
(json["stations"] ?? [])
.map<TankerkoenigStation>(
(station) => TankerkoenigStation.fromJson(
station,
),
)
.toList(),
);
}