toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (awsRoleArn != null) 'awsRoleArn': awsRoleArn!,
if (clusterArn != null) 'clusterArn': clusterArn!,
if (gcpServiceAccount != null) 'gcpServiceAccount': gcpServiceAccount!,
if (state != null) 'state': state!,
if (topic != null) 'topic': topic!,
};