toJson method

Map<String, dynamic> toJson()

Implementation

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