Transportation.fromJson constructor

Transportation.fromJson(
  1. Map json_
)

Implementation

Transportation.fromJson(core.Map json_)
    : this(
        airportShuttle: json_.containsKey('airportShuttle')
            ? json_['airportShuttle'] as core.bool
            : null,
        airportShuttleException: json_.containsKey('airportShuttleException')
            ? json_['airportShuttleException'] as core.String
            : null,
        carRentalOnProperty: json_.containsKey('carRentalOnProperty')
            ? json_['carRentalOnProperty'] as core.bool
            : null,
        carRentalOnPropertyException:
            json_.containsKey('carRentalOnPropertyException')
                ? json_['carRentalOnPropertyException'] as core.String
                : null,
        freeAirportShuttle: json_.containsKey('freeAirportShuttle')
            ? json_['freeAirportShuttle'] as core.bool
            : null,
        freeAirportShuttleException:
            json_.containsKey('freeAirportShuttleException')
                ? json_['freeAirportShuttleException'] as core.String
                : null,
        freePrivateCarService: json_.containsKey('freePrivateCarService')
            ? json_['freePrivateCarService'] as core.bool
            : null,
        freePrivateCarServiceException:
            json_.containsKey('freePrivateCarServiceException')
                ? json_['freePrivateCarServiceException'] as core.String
                : null,
        localShuttle: json_.containsKey('localShuttle')
            ? json_['localShuttle'] as core.bool
            : null,
        localShuttleException: json_.containsKey('localShuttleException')
            ? json_['localShuttleException'] as core.String
            : null,
        privateCarService: json_.containsKey('privateCarService')
            ? json_['privateCarService'] as core.bool
            : null,
        privateCarServiceException:
            json_.containsKey('privateCarServiceException')
                ? json_['privateCarServiceException'] as core.String
                : null,
        transfer: json_.containsKey('transfer')
            ? json_['transfer'] as core.bool
            : null,
        transferException: json_.containsKey('transferException')
            ? json_['transferException'] as core.String
            : null,
      );