flutter_app_core_freezed library

Classes

ApiClient
A lightweight HTTP client with automatic Bearer-token injection.
AuthStorage
Persists and retrieves the authentication token using SharedPreferences.
BaseCubit<T>
A generic BLoC Cubit that normalises every async operation into Loading, Success, or Error states.
BaseState<T>
Base class for all BLoC states used with BaseCubit.
Error<T>
Indicates that an async operation failed.
Loading<T>
Indicates that an async operation is in progress.
Result<T>
A functional wrapper that holds either a success value or a failure exception.
Success<T>
Indicates that an async operation completed successfully.

Exceptions / Errors

AppError
Represents a typed exception used throughout the app.