flutter_api_model library

Classes

APIModel<OwnerType>
High-level modeling of network requests, managing input and output parameters, adhering to the "In-Out" naming convention. Supports mixin or extension.

Enums

APIModelState
Represents the state of a request object.

Mixins

OutError<OwnerType, ErrorType>
Provides enhanced error management capabilities, including the outError property and a generic ErrorType. For example:

Extensions

APIModelOnList on List<APIModel>

Typedefs

APIModelCallback<T> = void Function(T model)
APIModelStateChange<T> = void Function(APIModelState state, T model)

Exceptions / Errors

APIModelException
Custom exception class for APIModel errors.