ResourceState<K extends Object, V>.withValueAndError constructor

ResourceState<K extends Object, V>.withValueAndError(
  1. K key,
  2. V value,
  3. Object error, {
  4. required Source source,
  5. required bool isLoading,
})

Implementation

ResourceState.withValueAndError(
  K this.key,
  V value,
  Object error, {
  required Source source,
  required bool isLoading,
}) : super.withValueAndError(
        value,
        error,
        source: source,
        isLoading: isLoading,
      );