QueryModel<ParamType, ResultType> class abstract

extend this class to declare your queries implement the key getter returning an unique id for the query implement the fetch method returning data or errors

Annotations

Constructors

QueryModel(String _key, {ParamType? parameter})

Properties

hashCode int
The hash code for this object.
no setteroverride
key String
no setter
parameter → ParamType?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch() Future<ResultType>
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 o) bool
The equality operator.
override