GoogleMapsAddressvalidationV1Verdict.fromJson constructor

GoogleMapsAddressvalidationV1Verdict.fromJson(
  1. Map json_
)

Implementation

GoogleMapsAddressvalidationV1Verdict.fromJson(core.Map json_)
    : this(
        addressComplete: json_.containsKey('addressComplete')
            ? json_['addressComplete'] as core.bool
            : null,
        geocodeGranularity: json_.containsKey('geocodeGranularity')
            ? json_['geocodeGranularity'] as core.String
            : null,
        hasInferredComponents: json_.containsKey('hasInferredComponents')
            ? json_['hasInferredComponents'] as core.bool
            : null,
        hasReplacedComponents: json_.containsKey('hasReplacedComponents')
            ? json_['hasReplacedComponents'] as core.bool
            : null,
        hasUnconfirmedComponents:
            json_.containsKey('hasUnconfirmedComponents')
                ? json_['hasUnconfirmedComponents'] as core.bool
                : null,
        inputGranularity: json_.containsKey('inputGranularity')
            ? json_['inputGranularity'] as core.String
            : null,
        validationGranularity: json_.containsKey('validationGranularity')
            ? json_['validationGranularity'] as core.String
            : null,
      );