copyWith method

ChatInviteLinks copyWith({
  1. int? totalCount,
  2. List<ChatInviteLink>? inviteLinks,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

ChatInviteLinks copyWith({
  int? totalCount,
  List<ChatInviteLink>? inviteLinks,
  dynamic extra,
  int? clientId,
}) =>
    ChatInviteLinks(
      totalCount: totalCount ?? this.totalCount,
      inviteLinks: inviteLinks ?? this.inviteLinks,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );