copyWith method
Creates a copy of this result with the provided values.
Implementation
@override
Result<T> copyWith({T? data, DateTime? lastUpdate}) =>
Loading(data: data ?? this.data, lastUpdate: lastUpdate ?? this.lastUpdate);
Creates a copy of this result with the provided values.
@override
Result<T> copyWith({T? data, DateTime? lastUpdate}) =>
Loading(data: data ?? this.data, lastUpdate: lastUpdate ?? this.lastUpdate);