toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ackDeadlineSeconds != null)
        'ackDeadlineSeconds': ackDeadlineSeconds!,
      if (bigqueryConfig != null) 'bigqueryConfig': bigqueryConfig!,
      if (cloudStorageConfig != null)
        'cloudStorageConfig': cloudStorageConfig!,
      if (deadLetterPolicy != null) 'deadLetterPolicy': deadLetterPolicy!,
      if (detached != null) 'detached': detached!,
      if (enableExactlyOnceDelivery != null)
        'enableExactlyOnceDelivery': enableExactlyOnceDelivery!,
      if (enableMessageOrdering != null)
        'enableMessageOrdering': enableMessageOrdering!,
      if (expirationPolicy != null) 'expirationPolicy': expirationPolicy!,
      if (filter != null) 'filter': filter!,
      if (labels != null) 'labels': labels!,
      if (messageRetentionDuration != null)
        'messageRetentionDuration': messageRetentionDuration!,
      if (name != null) 'name': name!,
      if (pushConfig != null) 'pushConfig': pushConfig!,
      if (retainAckedMessages != null)
        'retainAckedMessages': retainAckedMessages!,
      if (retryPolicy != null) 'retryPolicy': retryPolicy!,
      if (state != null) 'state': state!,
      if (topic != null) 'topic': topic!,
      if (topicMessageRetentionDuration != null)
        'topicMessageRetentionDuration': topicMessageRetentionDuration!,
    };