Map<String, Object?> toJson() { var iconUrls = this.iconUrls; final json = <String, Object?>{}; if (iconUrls != null) { json[r'iconUrls'] = iconUrls; } return json; }