fromJson static method
Implementation
static ChatFolderName? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatFolderName(
text: FormattedText.fromJson(tdMapFromJson(json['text'])),
animateCustomEmoji: (json['animate_custom_emoji'] as bool?) ?? false,
);
}