RiverpodCacheTime<T extends AutoDisposeFutureProviderRef> constructor
RiverpodCacheTime<T extends AutoDisposeFutureProviderRef> ({
- required int cacheMaxSecond,
- required T ref,
- required KeepAliveLink link,
- @Deprecated('It will be removed in the next major version update.') CancelToken? cancelToken,
Implementation
RiverpodCacheTime({
required this.cacheMaxSecond,
required this.ref,
required this.link,
@Deprecated('It will be removed in the next major version update.') this.cancelToken,
}) {
_init();
}