toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cloudTopicName != null) 'cloudTopicName': cloudTopicName!,
if (kind != null) 'kind': kind!,
if (registeredEvents != null) 'registeredEvents': registeredEvents!,
};