toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'id': id.toString(),
'short_name': shortName,
'title': title,
'text': text?.toJson(),
'description': description,
'photo': photo?.toJson(),
'animation': animation?.toJson(),
'@type': constructor,
};