watch method
Get TModel
while monitoring it with the widget associated with ref
in the same way as ref.app.model
.
ref.app.model
と同じようにref
に関連するウィジェットで監視を行いつつTModel
を取得します。
Implementation
TModel watch(RefHasApp ref) {
return ref.app.model(this);
}