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
Passkey copyWith({
String? id,
String? name,
int? additionDate,
int? lastUsageDate,
int? softwareIconCustomEmojiId,
dynamic extra,
int? clientId,
}) => Passkey(
id: id ?? this.id,
name: name ?? this.name,
additionDate: additionDate ?? this.additionDate,
lastUsageDate: lastUsageDate ?? this.lastUsageDate,
softwareIconCustomEmojiId:
softwareIconCustomEmojiId ?? this.softwareIconCustomEmojiId,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);