call<T extends Object> method
Converts into the desired type T
.
Will throw a ShellException if the shell process did not
exit with 0 as the exit code. Will throw a ShellResultConversionException if cannot convert to the desired
type T
.
Implementation
@override
T call<T extends Object>() {
final converter = base.ShellConfig.getConverter<T>();
return converter.convert(text());
}