copyWith method
Copy model with modified properties.
Properties:
total_count: Total number of pending join requestsuser_ids: Identifiers of at most 3 users sent the newest pending join requests
Implementation
ChatJoinRequestsInfo copyWith({
int? totalCount,
List<int>? userIds,
}) =>
ChatJoinRequestsInfo(
totalCount: totalCount ?? this.totalCount,
userIds: userIds ?? this.userIds,
);