RestrictedUser.fromJsonWithChat constructor

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

Implementation

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