copyWithWrapped method
Implementation
ValidationError copyWithWrapped(
{Wrapped<List<Object>>? loc,
Wrapped<String>? msg,
Wrapped<String>? type}) {
return ValidationError(
loc: (loc != null ? loc.value : this.loc),
msg: (msg != null ? msg.value : this.msg),
type: (type != null ? type.value : this.type));
}