BaseMessage.fromJsonWithChat constructor

BaseMessage.fromJsonWithChat(
  1. Chat chat,
  2. Map<String, dynamic> json
)

Implementation

factory BaseMessage.fromJsonWithChat(Chat chat, Map<String, dynamic> json) {
  return BaseMessage.fromJson(json)..set(chat);
}