copyWith method
Implementation
ValidationFailure1 copyWith(
{String? propertyName,
String? errorMessage,
dynamic? attemptedValue,
dynamic? customState,
enums.Severity? severity,
String? errorCode,
Map<String, dynamic>? formattedMessagePlaceholderValues}) {
return ValidationFailure1(
propertyName: propertyName ?? this.propertyName,
errorMessage: errorMessage ?? this.errorMessage,
attemptedValue: attemptedValue ?? this.attemptedValue,
customState: customState ?? this.customState,
severity: severity ?? this.severity,
errorCode: errorCode ?? this.errorCode,
formattedMessagePlaceholderValues: formattedMessagePlaceholderValues ??
this.formattedMessagePlaceholderValues);
}