MessageInviteVideoChatParticipants.fromJson constructor

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

Parse from a json

Implementation

factory MessageInviteVideoChatParticipants.fromJson(
        Map<String, dynamic> json) =>
    MessageInviteVideoChatParticipants(
      groupCallId: json['group_call_id'],
      userIds: List<int>.from(
          (json['user_ids'] ?? []).map((item) => item).toList()),
    );