MessageSenderChat.fromJson constructor

MessageSenderChat.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory MessageSenderChat.fromJson(Map<String, dynamic> json) => MessageSenderChat(
  chatId: json['chat_id'],
);