SuperViewModel<Repository extends SuperRepository<Dao, ResourceData, Data, Param> , Dao extends SuperDao<Data> , ResourceData, Data, Param> class
abstract
- Implemented types
-
- ResourceDataAccess<
ResourceData, Data, Param>
- ResourceDataAccess<
- Implementers
Constructors
- SuperViewModel(Repository repository)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- repository ↔ Repository
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
{bool? updateRef, AdeptPublishSubject< Resource< ? publishSubject}) → voidResourceData?> > -
override
-
delete(
{Data? data, List< Data> ? dataList, bool? updateRef, AdeptPublishSubject<Resource< ? publishSubject}) → voidResourceData?> > -
override
-
getObservableData(
) → AdeptPublishSubject< Resource< ResourceData?> > -
getObservableDataList(
) → AdeptPublishSubject< Resource< List< >ResourceData> ?> -
load(
{List< Param> ? params, AdeptPublishSubject<Resource< ? publishSubject}) → AdeptPublishSubject<ResourceData?> >Resource< ResourceData?> > -
override
-
loadAsync(
{dynamic params}) → Future< Data?> -
override
-
loadNew(
{List< Param> ? params, AdeptPublishSubject<Resource< ? publishSubject}) → AdeptPublishSubject<ResourceData?> >Resource< ResourceData?> > -
override
-
loadSync(
{dynamic params}) → Data? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyChanges(
{AdeptPublishSubject< Resource< ? publishSubject}) → voidResourceData> > -
override
-
save(
{Data? data, List< Data> ? dataList, bool? updateRef, AdeptPublishSubject<Resource< ? publishSubject}) → voidResourceData?> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited