DataStorage<Model extends DataClass> class

This class stores typed data that comes from the API or that was added by the user

Implementers

Constructors

DataStorage()

Properties

data ↔ Model
This object stores typed data fetched by a data provider or set by other source
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
list List<Model>
This list stores data fetched by a data provider or set by other source
getter/setter pair
loadStatus ValueNotifier<LoadStatus>
This value notifier is used to notify the fetch status of the dataset
getter/setter pair
local Map<String, dynamic>
This property stores, well, whatever you want. But we recommend using it for storing views or selected instances of the DataClass, according to your needs
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
totalRecords int
Total records available in the remote server;
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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