toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customAttributes != null) 'custom_attributes': customAttributes!,
      if (etag != null) 'etag': etag!,
      if (eventTypes != null) 'event_types': eventTypes!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (objectNamePrefix != null) 'object_name_prefix': objectNamePrefix!,
      if (payloadFormat != null) 'payload_format': payloadFormat!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (topic != null) 'topic': topic!,
    };