isFromCache property

bool get isFromCache

Whether the value was obtained using Riverpod's offline-persistence feature.

When isFromCache is true, isLoading should also be true.

Implementation

bool get isFromCache => valueFilled?.kind == DataKind.cache;