fromJson static method

Implementation

static TankerkoenigStationByPostalCodeResponse fromJson(
  Map<String, dynamic> json,
) {
  return TankerkoenigStationByPostalCodeResponse(
    json["license"],
    json["timestamp"],
    (json["stations"] ?? [])
        .map<TankerkoenigStation>(
          (station) => TankerkoenigStation.fromJson(
            station,
          ),
        )
        .toList(),
  );
}