OpenChannel.fromJsonWithChat constructor

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

Implementation

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