toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (GCPCloudEventsMode != null)
        'GCPCloudEventsMode': GCPCloudEventsMode!,
      if (deliveryAttempt != null) 'deliveryAttempt': deliveryAttempt!,
      if (message != null) 'message': message!,
      if (subscription != null) 'subscription': subscription!,
    };