get method
T
get()
Implementation
T get() {
try {
return _supplier.get();
} on Exception catch (e) {
return Optional.of(_recoveries[e.runtimeType])// @formatter:off
.filter((recovery) => notNull(e))
.map((recovery) => recovery(e))
.orThrow(e); // @formatter:on
}
}