ResultStream<T> extension

ResultStream utility extension methods.

on

Methods

isLoading() Stream<bool>
Returns true if the Result is ResultLoading, otherwise returns false
isLoadingWithTag() Stream<LoadingWithTag>
Returns a container []
whereError() Stream<Exception>
Finds the ResultError as unwraps the ResultError.error from it.
whereSuccess() Stream<T>
Finds the ResultSuccess as unwraps the ResultSuccess.data from it.