copyWith method
Implementation
LivenessDetectionCooldown copyWith({
int? failedAttempts,
DateTime? cooldownEndTime,
bool? isInCooldown,
}) {
return LivenessDetectionCooldown(
failedAttempts: failedAttempts ?? this.failedAttempts,
cooldownEndTime: cooldownEndTime ?? this.cooldownEndTime,
isInCooldown: isInCooldown ?? this.isInCooldown,
);
}