VideoChatParticipantsInvited.fromJson constructor

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

Creates a VideoChatParticipantsInvited object from JSON object

Implementation

factory VideoChatParticipantsInvited.fromJson(Map<String, dynamic> json) {
  return VideoChatParticipantsInvited(
    users: List<User>.from(
      (json['users'] as List<dynamic>).map(
        (x) => User.fromJson(x),
      ),
    ),
  );
}