ResourceState<K extends Object, V>.withError constructor
ResourceState<K extends Object, V>.withError (})
Implementation
ResourceState.withError(
Object error, {
required this.key,
required bool isLoading,
}) : super.withError(error, isLoading: isLoading);