Parking.fromJson constructor

Parking.fromJson(
  1. Map json_
)

Implementation

Parking.fromJson(core.Map json_)
    : this(
        electricCarChargingStations:
            json_.containsKey('electricCarChargingStations')
                ? json_['electricCarChargingStations'] as core.bool
                : null,
        electricCarChargingStationsException:
            json_.containsKey('electricCarChargingStationsException')
                ? json_['electricCarChargingStationsException'] as core.String
                : null,
        freeParking: json_.containsKey('freeParking')
            ? json_['freeParking'] as core.bool
            : null,
        freeParkingException: json_.containsKey('freeParkingException')
            ? json_['freeParkingException'] as core.String
            : null,
        freeSelfParking: json_.containsKey('freeSelfParking')
            ? json_['freeSelfParking'] as core.bool
            : null,
        freeSelfParkingException:
            json_.containsKey('freeSelfParkingException')
                ? json_['freeSelfParkingException'] as core.String
                : null,
        freeValetParking: json_.containsKey('freeValetParking')
            ? json_['freeValetParking'] as core.bool
            : null,
        freeValetParkingException:
            json_.containsKey('freeValetParkingException')
                ? json_['freeValetParkingException'] as core.String
                : null,
        parkingAvailable: json_.containsKey('parkingAvailable')
            ? json_['parkingAvailable'] as core.bool
            : null,
        parkingAvailableException:
            json_.containsKey('parkingAvailableException')
                ? json_['parkingAvailableException'] as core.String
                : null,
        selfParkingAvailable: json_.containsKey('selfParkingAvailable')
            ? json_['selfParkingAvailable'] as core.bool
            : null,
        selfParkingAvailableException:
            json_.containsKey('selfParkingAvailableException')
                ? json_['selfParkingAvailableException'] as core.String
                : null,
        valetParkingAvailable: json_.containsKey('valetParkingAvailable')
            ? json_['valetParkingAvailable'] as core.bool
            : null,
        valetParkingAvailableException:
            json_.containsKey('valetParkingAvailableException')
                ? json_['valetParkingAvailableException'] as core.String
                : null,
      );