toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (description != null) 'description': description!,
  if (name != null) 'name': name!,
  if (pubsubTopic != null) 'pubsubTopic': pubsubTopic!,
  if (serviceAccount != null) 'serviceAccount': serviceAccount!,
  if (streamingConfig != null) 'streamingConfig': streamingConfig!,
};