MyChange<T> constructor

MyChange<T>(
  1. T _oldValue, {
  2. required dynamic execute(),
  3. required dynamic redo(),
  4. required dynamic undo(
    1. T oldValue
    ),
  5. bool monitored = false,
  6. TransState transState = TransState.none,
  7. String mid = '',
})

Implementation

MyChange(
  this._oldValue, {
  required this.execute(),
  required this.redo(),
  required this.undo(T oldValue),
  this.monitored = false,
  this.transState = TransState.none,
  this.mid = '',
});