toFresh method

Result<T> toFresh()

Creates a fresh copy of this result, meaning lastUpdate will be set to DateTime.now().

Implementation

Result<T> toFresh() => copyWith(lastUpdate: DateTime.now());