ModelFieldValueFilter<T extends ModelFieldValue> class abstract

Adapter class for determining the behavior of ModelFieldValue in ModelQuery.filters.

Create a new class that inherits from this abstract class and register it with ModelFieldValue.registerFilter when the application starts.

ModelQuery.filtersでのModelFieldValueの振る舞いを決めるためのアダプタークラス。

この抽象クラスを継承して新しいクラスを作り、アプリ起動時にModelFieldValue.registerFilterに登録を行ってください。

Implementers
Available Extensions
Annotations

Constructors

ModelFieldValueFilter()
Adapter class for determining the behavior of ModelFieldValue in ModelQuery.filters.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Type of class being handled.
no setter

Methods

compare(dynamic a, dynamic b) int?
Comparison operator for sorting.
hasMatch(ModelQueryFilter filter, dynamic source) bool?
Returns whether or not source matches according to the contents of filter.
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