FileMessage.fromJsonWithChat constructor

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

Implementation

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