handleOnLoadedFromCacheSuccess method
Implementation
Future<Resource<DataType?>> handleOnLoadedFromCacheSuccess(
Resource<DataType?> resource) async {
if (onLoadedFromCacheSuccess != null) {
return onLoadedFromCacheSuccess!(resource);
}
if (publishResults) publishSubject?.post(resource);
return resource;
}