ChatEventMemberJoinedByRequest.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventMemberJoinedByRequest.fromJson(Map<String, dynamic> json) =>
    ChatEventMemberJoinedByRequest(
      approverUserId: json['approver_user_id'],
      inviteLink: json['invite_link'] == null
          ? null
          : ChatInviteLink.fromJson(json['invite_link']),
    );