toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (eventFilters != null) 'eventFilters': eventFilters!,
      if (eventType != null) 'eventType': eventType!,
      if (pubsubTopic != null) 'pubsubTopic': pubsubTopic!,
      if (retryPolicy != null) 'retryPolicy': retryPolicy!,
      if (serviceAccountEmail != null)
        'serviceAccountEmail': serviceAccountEmail!,
      if (trigger != null) 'trigger': trigger!,
      if (triggerRegion != null) 'triggerRegion': triggerRegion!,
    };