core.Map<core.String, core.dynamic> toJson() => { if (badgeUrl != null) 'badgeUrl': badgeUrl!, if (categoryId != null) 'categoryId': categoryId!, if (name != null) 'name': name!, };