domain/guard_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

AsyncData<T>
Represents the data state.
AsyncError<T>
Represents the error state.
AsyncLoading<T>
Represents the loading state.
BaseAsyncValue<T>