copyWith method
Implementation
FetchingState<T> copyWith({
required LoadState fetchingStatus,
T? data,
Object? error,
}) {
return FetchingState(
fetchingStatus: fetchingStatus,
data: data ?? this.data,
error: error ?? this.error,
);
}