fromJson static method
Inherited by: MessageSenderChat MessageSenderUser
Implementation
static MessageSenderChat? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return MessageSenderChat(chatId: (json['chat_id'] as int?) ?? 0);
}