MasamuneModelAppScopedValueOrAppRefExtensions extension

Create an extension method for AppScopedValueOrAppRef to handle the Query for the model.

モデル用のQueryを処理するためのAppScopedValueOrAppRefの拡張メソッドを作成します。

on

Methods

model<TModel extends Listenable>(ModelQueryBase<TModel> query, {bool? autoDisposeWhenUnreferenced}) → TModel

Available on AppScopedValueOrAppRef, provided by the MasamuneModelAppScopedValueOrAppRefExtensions extension

Retrieve the state-preserved TModel by passing the ModelQueryBase code generated by the builder.