LivenessCheckErrorInfo constructor
LivenessCheckErrorInfo({
- required LivenessCheckError errorType,
- required String message,
- String? technicalDetails,
- DateTime? timestamp,
Creates a liveness check error info object.
The errorType and message are required. The technicalDetails and
timestamp are optional, with timestamp defaulting to the current time.
Implementation
LivenessCheckErrorInfo({
required this.errorType,
required this.message,
this.technicalDetails,
DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();