ChatEventMemberInvited.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventMemberInvited.fromJson(Map<String, dynamic> json) =>
    ChatEventMemberInvited(
      userId: json['user_id'],
      status: ChatMemberStatus.fromJson(json['status']),
    );