fromJson static method
Creates a object from a json
Implementation
static MessageEntity fromJson(Map<String, dynamic> json) {
return MessageEntity(
type: json['type']!,
offset: json['offset']!,
length: json['length']!,
url: json['url'],
user: callIfNotNull(User.fromJson, json['user']),
language: json['language'],
customEmojiId: json['custom_emoji_id'],
);
}