core/result library
Classes
-
Err<
T, E extends BaseException> - Failed result wrapper.
-
Ok<
T, E extends BaseException> - Successful result wrapper.
-
Result<
T, E extends BaseException> - Algebraic data type for success/failure flows that plays nicely with Bloc/Riverpod/Notifier state management.