Sender.fromJsonWithChat constructor

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

Implementation

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