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に登録を行ってください。
- Annotations
Constructors
- ModelFieldValueFilter()
-
Adapter class for determining the behavior of ModelFieldValue in ModelQuery.filters.
const
Properties
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 offilter
. -
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