SaveFromFamilyEffect<T, A> constructor

const SaveFromFamilyEffect<T, A>(
  1. SaveRepositoryKey key, {
  2. void onInit(
    1. T first,
    2. A arg
    )?,
  3. void onUpdate(
    1. T value,
    2. A arg
    )?,
  4. void onDispose(
    1. T last,
    2. A arg
    )?,
  5. void orElse(
    1. T value,
    2. A arg
    )?,
})

Implementation

const SaveFromFamilyEffect(
  this.key, {
  this.onInit,
  this.onUpdate,
  this.onDispose,
  this.orElse,
});