ResultEitherExtensions<L, R> extension

on
  • Either<L, R>

Methods

handleReport({String? successMsg, String? emptyListMsg, bool isDisplayFailedMsg = false, FailureCallback? onFailed, SuccessCallback<R>? onSuccess, VoidCallback? onEmpty}) Future<R?>

Available on Either<L, R>, provided by the ResultEitherExtensions extension

This handles Either and returns the success result if available