AdminMessage.fromJsonWithChat constructor

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

Implementation

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