ChatJoinRequestsInfo.fromJson constructor

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

Parse from a json

Implementation

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