GoogleMapsAddressvalidationV1UspsData.fromJson constructor

GoogleMapsAddressvalidationV1UspsData.fromJson(
  1. Map json_
)

Implementation

GoogleMapsAddressvalidationV1UspsData.fromJson(core.Map json_)
    : this(
        abbreviatedCity: json_.containsKey('abbreviatedCity')
            ? json_['abbreviatedCity'] as core.String
            : null,
        addressRecordType: json_.containsKey('addressRecordType')
            ? json_['addressRecordType'] as core.String
            : null,
        carrierRoute: json_.containsKey('carrierRoute')
            ? json_['carrierRoute'] as core.String
            : null,
        carrierRouteIndicator: json_.containsKey('carrierRouteIndicator')
            ? json_['carrierRouteIndicator'] as core.String
            : null,
        cassProcessed: json_.containsKey('cassProcessed')
            ? json_['cassProcessed'] as core.bool
            : null,
        county: json_.containsKey('county')
            ? json_['county'] as core.String
            : null,
        defaultAddress: json_.containsKey('defaultAddress')
            ? json_['defaultAddress'] as core.bool
            : null,
        deliveryPointCheckDigit: json_.containsKey('deliveryPointCheckDigit')
            ? json_['deliveryPointCheckDigit'] as core.String
            : null,
        deliveryPointCode: json_.containsKey('deliveryPointCode')
            ? json_['deliveryPointCode'] as core.String
            : null,
        dpvCmra: json_.containsKey('dpvCmra')
            ? json_['dpvCmra'] as core.String
            : null,
        dpvConfirmation: json_.containsKey('dpvConfirmation')
            ? json_['dpvConfirmation'] as core.String
            : null,
        dpvDoorNotAccessible: json_.containsKey('dpvDoorNotAccessible')
            ? json_['dpvDoorNotAccessible'] as core.String
            : null,
        dpvDrop: json_.containsKey('dpvDrop')
            ? json_['dpvDrop'] as core.String
            : null,
        dpvEnhancedDeliveryCode: json_.containsKey('dpvEnhancedDeliveryCode')
            ? json_['dpvEnhancedDeliveryCode'] as core.String
            : null,
        dpvFootnote: json_.containsKey('dpvFootnote')
            ? json_['dpvFootnote'] as core.String
            : null,
        dpvNoSecureLocation: json_.containsKey('dpvNoSecureLocation')
            ? json_['dpvNoSecureLocation'] as core.String
            : null,
        dpvNoStat: json_.containsKey('dpvNoStat')
            ? json_['dpvNoStat'] as core.String
            : null,
        dpvNoStatReasonCode: json_.containsKey('dpvNoStatReasonCode')
            ? json_['dpvNoStatReasonCode'] as core.int
            : null,
        dpvNonDeliveryDays: json_.containsKey('dpvNonDeliveryDays')
            ? json_['dpvNonDeliveryDays'] as core.String
            : null,
        dpvNonDeliveryDaysValues:
            json_.containsKey('dpvNonDeliveryDaysValues')
                ? json_['dpvNonDeliveryDaysValues'] as core.int
                : null,
        dpvPbsa: json_.containsKey('dpvPbsa')
            ? json_['dpvPbsa'] as core.String
            : null,
        dpvThrowback: json_.containsKey('dpvThrowback')
            ? json_['dpvThrowback'] as core.String
            : null,
        dpvVacant: json_.containsKey('dpvVacant')
            ? json_['dpvVacant'] as core.String
            : null,
        elotFlag: json_.containsKey('elotFlag')
            ? json_['elotFlag'] as core.String
            : null,
        elotNumber: json_.containsKey('elotNumber')
            ? json_['elotNumber'] as core.String
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        ewsNoMatch: json_.containsKey('ewsNoMatch')
            ? json_['ewsNoMatch'] as core.bool
            : null,
        fipsCountyCode: json_.containsKey('fipsCountyCode')
            ? json_['fipsCountyCode'] as core.String
            : null,
        lacsLinkIndicator: json_.containsKey('lacsLinkIndicator')
            ? json_['lacsLinkIndicator'] as core.String
            : null,
        lacsLinkReturnCode: json_.containsKey('lacsLinkReturnCode')
            ? json_['lacsLinkReturnCode'] as core.String
            : null,
        pmbDesignator: json_.containsKey('pmbDesignator')
            ? json_['pmbDesignator'] as core.String
            : null,
        pmbNumber: json_.containsKey('pmbNumber')
            ? json_['pmbNumber'] as core.String
            : null,
        poBoxOnlyPostalCode: json_.containsKey('poBoxOnlyPostalCode')
            ? json_['poBoxOnlyPostalCode'] as core.bool
            : null,
        postOfficeCity: json_.containsKey('postOfficeCity')
            ? json_['postOfficeCity'] as core.String
            : null,
        postOfficeState: json_.containsKey('postOfficeState')
            ? json_['postOfficeState'] as core.String
            : null,
        standardizedAddress: json_.containsKey('standardizedAddress')
            ? GoogleMapsAddressvalidationV1UspsAddress.fromJson(
                json_['standardizedAddress']
                    as core.Map<core.String, core.dynamic>)
            : null,
        suitelinkFootnote: json_.containsKey('suitelinkFootnote')
            ? json_['suitelinkFootnote'] as core.String
            : null,
      );