ChatEventMemberRestricted.fromJson constructor
Parse from a json
Implementation
factory ChatEventMemberRestricted.fromJson(Map<String, dynamic> json) => ChatEventMemberRestricted(
memberId: MessageSender.fromJson(json['member_id']),
oldStatus: ChatMemberStatus.fromJson(json['old_status']),
newStatus: ChatMemberStatus.fromJson(json['new_status']),
);