GoogleMapsAddressvalidationV1ValidateAddressRequest.fromJson constructor

GoogleMapsAddressvalidationV1ValidateAddressRequest.fromJson(
  1. Map json_
)

Implementation

GoogleMapsAddressvalidationV1ValidateAddressRequest.fromJson(core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? GoogleTypePostalAddress.fromJson(
                json_['address'] as core.Map<core.String, core.dynamic>)
            : null,
        enableUspsCass: json_.containsKey('enableUspsCass')
            ? json_['enableUspsCass'] as core.bool
            : null,
        languageOptions: json_.containsKey('languageOptions')
            ? GoogleMapsAddressvalidationV1LanguageOptions.fromJson(
                json_['languageOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        previousResponseId: json_.containsKey('previousResponseId')
            ? json_['previousResponseId'] as core.String
            : null,
        sessionToken: json_.containsKey('sessionToken')
            ? json_['sessionToken'] as core.String
            : null,
      );