toJson method
Implementation
Map<String, dynamic> toJson() {
final clientProperties = this.clientProperties;
final destinationArn = this.destinationArn;
final topic = this.topic;
final key = this.key;
final partition = this.partition;
return {
'clientProperties': clientProperties,
'destinationArn': destinationArn,
'topic': topic,
if (key != null) 'key': key,
if (partition != null) 'partition': partition,
};
}