SuperViewModel<Repository extends SuperRepository<Dao, ResourceData, Data, Param>, Dao extends SuperDao<Data>, ResourceData, Data, Param> class

Implemented types
Implementers

Constructors

SuperViewModel(Repository repository)

Properties

repository ↔ Repository
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear({bool updateRef, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
override
delete({Data data, List<Data> dataList, bool updateRef, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
override
getObservableData() AdeptPublishSubject<Resource<ResourceData>>
getObservableDataList() AdeptPublishSubject<Resource<List<ResourceData>>>
load({List<Param> params, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) AdeptPublishSubject<Resource<ResourceData>>
override
loadAsync({dynamic params}) → Future<Data>
override
loadNew({List<Param> params, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) AdeptPublishSubject<Resource<ResourceData>>
override
loadSync({dynamic params}) → Data
override
notifyChanges({AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
override
save({Data data, List<Data> dataList, bool updateRef, AdeptPublishSubject<Resource<ResourceData>> publishSubject}) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited