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

Implemented types
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<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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChanges({AdeptPublishSubject<Resource<ResourceData>>? publishSubject}) → void
override
save({Data? data, List<Data>? dataList, bool? updateRef, AdeptPublishSubject<Resource<ResourceData?>>? publishSubject}) → void
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited