DataProvider<T extends DataClass> class abstract

Implementers

Constructors

DataProvider()

Properties

data ↔ T?
This object stores typed data fetched by a data provider or setted by other source
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
list List<T>
This list stores data fetched by a data provider or setted by other source
getter/setter pair
loadStatus ValueNotifier<LoadStatus>
final
local Map<String, dynamic>
This property stores whichever type of object. We recommend using it for storing functions that return a different perspective of the list property
getter/setter pair
localViews Map<String, dynamic>
This property stores whichever views from the main list. We recommend using it for storing functions that return a different perspective of the list property
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(T data) Future<void>
create(T data) → void
get({Map<String, dynamic> filters}) Future<List<T>>
getOne(dynamic uniqueID) Future<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(dynamic uniqueID) Future<void>
toString() String
A string representation of this object.
inherited
update(dynamic uniqueID, T data) Future<void>

Operators

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