RefCacheExtensions extension

Provides an extension method for Ref to perform caching.

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

on

Methods

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