ChatMemberLeft.fromJson constructor

ChatMemberLeft.fromJson(
  1. Map<String, dynamic> json
)

Creates a new ChatMemberLeft object from json.

Implementation

factory ChatMemberLeft.fromJson(Map<String, dynamic> json) {
  return ChatMemberLeft(
    user: User.fromJson(json['user'] as Map<String, dynamic>),
  );
}