DataStoreSyncExpression class

Sync expression to configure DataStore plugin with. These expressions include query predicates which specify filters for selectively persisting a subset of data to the local device

Constructors

DataStoreSyncExpression(ModelType<Model> _modelType, QueryPredicate<Model> _queryPredicateResolver())
Default constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
A unique id for this sync expression
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveQueryPredicate() QueryPredicate<Model>
Returns the result of the query predicate resolver
toMap() Map<String, dynamic>
Returns a map representation of this sync expression as it is needed by native platforms
toString() String
A string representation of this object.
inherited

Operators

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