WarehouseBasedDeliveryTime.fromJson constructor

WarehouseBasedDeliveryTime.fromJson(
  1. Map json_
)

Implementation

WarehouseBasedDeliveryTime.fromJson(core.Map json_)
    : this(
        carrier: json_.containsKey('carrier')
            ? json_['carrier'] as core.String
            : null,
        carrierService: json_.containsKey('carrierService')
            ? json_['carrierService'] as core.String
            : null,
        originAdministrativeArea:
            json_.containsKey('originAdministrativeArea')
                ? json_['originAdministrativeArea'] as core.String
                : null,
        originCity: json_.containsKey('originCity')
            ? json_['originCity'] as core.String
            : null,
        originCountry: json_.containsKey('originCountry')
            ? json_['originCountry'] as core.String
            : null,
        originPostalCode: json_.containsKey('originPostalCode')
            ? json_['originPostalCode'] as core.String
            : null,
        originStreetAddress: json_.containsKey('originStreetAddress')
            ? json_['originStreetAddress'] as core.String
            : null,
        warehouseName: json_.containsKey('warehouseName')
            ? json_['warehouseName'] as core.String
            : null,
      );