ifFailure abstract method
void
ifFailure(
- void error(
- E
Calls the given function if this Result contains an error.
Implementation
void ifFailure(void Function(E) error);
Calls the given function if this Result contains an error.
void ifFailure(void Function(E) error);