GoogleCloudRecaptchaenterpriseV1TransactionEvent.fromJson constructor

GoogleCloudRecaptchaenterpriseV1TransactionEvent.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1TransactionEvent.fromJson(core.Map json_)
    : this(
        eventTime: json_.containsKey('eventTime')
            ? json_['eventTime'] as core.String
            : null,
        eventType: json_.containsKey('eventType')
            ? json_['eventType'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        value: json_.containsKey('value')
            ? (json_['value'] as core.num).toDouble()
            : null,
      );