when<T> abstract method
Checks the result type
ok
- Result handler
error
- Error handler
Implementation
T when<T>({ required T Function(D) ok, required T Function(Exception) error });
Checks the result type
ok
- Result handler
error
- Error handler
T when<T>({ required T Function(D) ok, required T Function(Exception) error });