PageOrWidgetScopedValueRefCacheExtensions extension

Provides an extension method for PageOrWidgetScopedValueRef to perform caching.

キャッシュを行うためのPageOrWidgetScopedValueRef用の拡張メソッドを提供します。

on

Methods

cache<T>(T callback(QueryScopedValueRef<PageOrWidgetScopedValueRef> ref), {List<Object> keys = const [], Object? name}) → T
Caches and stores the value returned by callback.