RiverpodCacheTime<T extends AutoDisposeFutureProviderRef> constructor

RiverpodCacheTime<T extends AutoDisposeFutureProviderRef>({
  1. required int cacheMaxSecond,
  2. required T ref,
  3. required KeepAliveLink link,
  4. @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();
}