ResourceState<K extends Object, V>.withValue constructor

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

Implementation

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