toJson method
Implementation
Map<String, dynamic> toJson() {
final kmsMasterKeyId = this.kmsMasterKeyId;
final owner = this.owner;
final subscription = this.subscription;
final topicName = this.topicName;
return {
if (kmsMasterKeyId != null) 'KmsMasterKeyId': kmsMasterKeyId,
if (owner != null) 'Owner': owner,
if (subscription != null) 'Subscription': subscription,
if (topicName != null) 'TopicName': topicName,
};
}