GoogleMapsAddressvalidationV1ValidationResult.fromJson constructor

GoogleMapsAddressvalidationV1ValidationResult.fromJson(
  1. Map json_
)

Implementation

GoogleMapsAddressvalidationV1ValidationResult.fromJson(core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? GoogleMapsAddressvalidationV1Address.fromJson(
                json_['address'] as core.Map<core.String, core.dynamic>)
            : null,
        englishLatinAddress: json_.containsKey('englishLatinAddress')
            ? GoogleMapsAddressvalidationV1Address.fromJson(
                json_['englishLatinAddress']
                    as core.Map<core.String, core.dynamic>)
            : null,
        geocode: json_.containsKey('geocode')
            ? GoogleMapsAddressvalidationV1Geocode.fromJson(
                json_['geocode'] as core.Map<core.String, core.dynamic>)
            : null,
        metadata: json_.containsKey('metadata')
            ? GoogleMapsAddressvalidationV1AddressMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        uspsData: json_.containsKey('uspsData')
            ? GoogleMapsAddressvalidationV1UspsData.fromJson(
                json_['uspsData'] as core.Map<core.String, core.dynamic>)
            : null,
        verdict: json_.containsKey('verdict')
            ? GoogleMapsAddressvalidationV1Verdict.fromJson(
                json_['verdict'] as core.Map<core.String, core.dynamic>)
            : null,
      );