copyWith method
Returns a copy of this exception with the given fieldName
added to the
path.
Implementation
PartialDataException copyWith({required String fieldName}) {
return PartialDataException(path: [fieldName, ...path]);
}
Returns a copy of this exception with the given fieldName
added to the
path.
PartialDataException copyWith({required String fieldName}) {
return PartialDataException(path: [fieldName, ...path]);
}