ComputedBaseResourceBloc<K extends Object, V> constructor
ComputedBaseResourceBloc<K extends Object, V> ({
- required KeyCallback<
K> key, - InitialValue<
K, V> ? initialValue,
Implementation
ComputedBaseResourceBloc({
required KeyCallback<K> key,
InitialValue<K, V>? initialValue,
}) : this._computed(
computedKey: Computed(key, name: 'ComputedResourceBloc<$K,$V>.key'),
initialValue: initialValue,
);