GoogleCloudRecaptchaenterpriseV1TransactionDataAddress.fromJson constructor

GoogleCloudRecaptchaenterpriseV1TransactionDataAddress.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1TransactionDataAddress.fromJson(
    core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? (json_['address'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        administrativeArea: json_.containsKey('administrativeArea')
            ? json_['administrativeArea'] as core.String
            : null,
        locality: json_.containsKey('locality')
            ? json_['locality'] as core.String
            : null,
        postalCode: json_.containsKey('postalCode')
            ? json_['postalCode'] as core.String
            : null,
        recipient: json_.containsKey('recipient')
            ? json_['recipient'] as core.String
            : null,
        regionCode: json_.containsKey('regionCode')
            ? json_['regionCode'] as core.String
            : null,
      );