dartlcemodel_model library

Use-cases to load data with LCE flow DATA

Classes

CacheService<D extends Object, P extends Object>
Interface to cache an Entity locally Cache should notify subscribers that data has been updated through getData channel D Data type P Params that identify data type
IsolateNetService<D extends Object, P extends Object>
LceModel<DATA extends Object, PARAMS extends Object>
A model interface to load data and transmit it to subscribers along with loading operation state The model is bound with params that identify the data DATA Data type of data being loaded PARAMS Params type that identify data being loaded
LceUseCase<DATA extends Object>
Base LCE use-case with state and refresh DATA Data type of data being loaded
NetService<D extends Object, P extends Object>
Interface to load an Entity from network D Data type P Params that identify data type
ServiceSet<D extends Object, P extends Object>
Service-set - a set of net and cache services D Data type P Params that identify data type

Extensions

IsolateNetServiceExtension on NetService<D, P>
Extensions for isolate delegate
LceModelExtension on LceModel<DATA, PARAMS>
LceState stream extensions
LceStreamExtension on Stream<LceState<DATA>>
LceState stream extensions
LceUseCaseExtension on LceUseCase<DATA>
LceState stream extensions