ComputedBaseResourceBloc<K extends Object, V> constructor

ComputedBaseResourceBloc<K extends Object, V>({
  1. required KeyCallback<K> key,
  2. 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,
      );