copyWith method
A copy with label and/or revoked changed. The copy carries no
signature: the writer must re-sign it.
Implementation
DeviceRecord copyWith({String? label, bool? revoked}) => DeviceRecord(
deviceId: deviceId,
publicKey: publicKey,
label: label ?? this.label,
pairedAt: pairedAt,
revoked: revoked ?? this.revoked,
);