copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
ChatFolderInviteLink copyWith({
String? inviteLink,
String? name,
List<int>? chatIds,
dynamic extra,
int? clientId,
}) =>
ChatFolderInviteLink(
inviteLink: inviteLink ?? this.inviteLink,
name: name ?? this.name,
chatIds: chatIds ?? this.chatIds,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);