CodableException.wrap constructor
Implementation
factory CodableException.wrap(Object error, {required String method, required String hint}) {
if (error is WrappedCodableException) {
return WrappedCodableException(method, '$hint->${error.hint}', error.error);
} else {
return WrappedCodableException(method, hint, error);
}
}