Map<String, dynamic> toJson() { final arn = this.arn; final filterArns = this.filterArns; return { 'Arn': arn, if (filterArns != null) 'FilterArns': filterArns, }; }