domain/base_async_value library

A platform-agnostic representation of an asynchronous value state.

This library provides the sealed class BaseAsyncValue and its subclasses for handling data, loading, and error states.

Classes

BaseAsyncData<T>
Represents the data state.
BaseAsyncError<T>
Represents the error state.
BaseAsyncLoading<T>
Represents the loading state.
BaseAsyncValue<T>