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