convert method

T convert(
  1. S src
)
override

Converts input and returns the result of the conversion.

Implementation

T convert(S src) {
  try{
    return this.underlying.convert(src);
  } on E catch(e){
    return this.onError(e);
  }
}