copyWith method

ChatJoinRequests copyWith({
  1. int? totalCount,
  2. List<ChatJoinRequest>? requests,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

ChatJoinRequests copyWith({
  int? totalCount,
  List<ChatJoinRequest>? requests,
  dynamic extra,
  int? clientId,
}) => ChatJoinRequests(
  totalCount: totalCount ?? this.totalCount,
  requests: requests ?? this.requests,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);