toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final topicArn = this.topicArn;
  return {
    if (topicArn != null) 'TopicArn': topicArn,
  };
}