ResourceBloc<K extends Object, V>.from constructor

ResourceBloc<K extends Object, V>.from({
  1. required FreshSource<K, V> freshSource,
  2. required TruthSource<K, V> truthSource,
  3. InitialValue<K, V>? initialValue,
  4. K? initialKey,
})

Implementation

factory ResourceBloc.from({
  required FreshSource<K, V> freshSource,
  required TruthSource<K, V> truthSource,
  InitialValue<K, V>? initialValue,
  K? initialKey,
}) = CallbackResourceBloc;