invalidate method

Result<T> invalidate()

Marks the current Data (if any) as stale, i.e. it will be re-fetched on next access.

Implementation

Result<T> invalidate() => value = value.toStale();