ModelQueryBase<TModel extends Listenable> class
abstract
Base class for creating state-to-state usage queries for the model to be code-generated by the builder.
Basically, you can get classes that inherit from DocumentBase or CollectionBase.
ビルダーによりコード生成するモデルの状態間利用クエリを作成するためのベースクラス。
基本的にはDocumentBaseやCollectionBaseを継承したクラスを取得することが出来ます。
- Inheritance
-
- Object
- ScopedQueryBase<
TModel, AppScopedValueOrAppRef> - ChangeNotifierScopedQueryBase<
TModel, AppScopedValueOrAppRef> - ModelQueryBase
- Available Extensions
Constructors
- ModelQueryBase()
-
Base class for creating state-to-state usage queries for the model to be code-generated by the builder.
const
Properties
- autoDisposeWhenUnreferenced → bool
-
Returns
true
if ScopedQuery should be automatically discarded when it is no longer referenced by any widget.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- listen → bool
-
Returns
true
if the value is monitored for update notification.no setterinherited -
provider
→ TModel Function(QueryScopedValueRef<
AppScopedValueOrAppRef> ref) -
A callback that returns the value you want to manage.
finalinherited
- queryName → Object
-
Returns a name to identify the state.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
QueryScopedValueRef< AppScopedValueOrAppRef> ref) → TModel Function() -
Returns a callback that returns the value you want to manage.
inherited
-
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