copyWithValue method
Implementation
@override
ResourceState<K, V> copyWithValue(
V value, {
required Source source,
bool? isLoading,
bool includeError = true,
}) =>
ResourceState._raw(
key,
value,
includeError ? error : null,
isLoading: isLoading ?? this.isLoading,
source: source,
);