copyWith method
Implementation
StateSnapshot<V> copyWith({
bool? isLoading,
bool includeValue = true,
bool includeError = true,
}) =>
StateSnapshot._raw(
includeValue ? value : null,
includeError ? error : null,
isLoading: isLoading ?? this.isLoading,
source: includeValue ? source : null,
);