GoogleCloudRecaptchaenterpriseV1TransactionDataItem.fromJson constructor

GoogleCloudRecaptchaenterpriseV1TransactionDataItem.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1TransactionDataItem.fromJson(core.Map json_)
    : this(
        merchantAccountId: json_.containsKey('merchantAccountId')
            ? json_['merchantAccountId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        quantity: json_.containsKey('quantity')
            ? json_['quantity'] as core.String
            : null,
        value: json_.containsKey('value')
            ? (json_['value'] as core.num).toDouble()
            : null,
      );