toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (endpoint != null) 'endpoint': endpoint!,
if (pubsub != null) 'pubsub': pubsub!,
if (serviceAccount != null) 'serviceAccount': serviceAccount!,
if (type != null) 'type': type!,
};