TriggerPubsubExecutionRequest.fromJson constructor

TriggerPubsubExecutionRequest.fromJson(
  1. Map json_
)

Implementation

TriggerPubsubExecutionRequest.fromJson(core.Map json_)
    : this(
        GCPCloudEventsMode: json_.containsKey('GCPCloudEventsMode')
            ? json_['GCPCloudEventsMode'] as core.String
            : null,
        deliveryAttempt: json_.containsKey('deliveryAttempt')
            ? json_['deliveryAttempt'] as core.int
            : null,
        message: json_.containsKey('message')
            ? PubsubMessage.fromJson(
                json_['message'] as core.Map<core.String, core.dynamic>)
            : null,
        subscription: json_.containsKey('subscription')
            ? json_['subscription'] as core.String
            : null,
      );