SimpleEffect<T> constructor

SimpleEffect<T>(
  1. Object _key, {
  2. void onInitState(
    1. WatchInformation hypen,
    2. T firstState
    )?,
  3. void onUpdateState(
    1. WatchInformation hypen,
    2. T newState
    )?,
  4. void onDisposeState(
    1. WatchInformation hypen,
    2. T lastState
    )?,
})

Implementation

SimpleEffect(
  this._key, {
  this.onInitState,
  this.onUpdateState,
  this.onDisposeState,
});