UndoRedoBeacon<T> constructor

UndoRedoBeacon<T>({
  1. T? initialValue,
  2. int historyLimit = 10,
})

Implementation

UndoRedoBeacon({T? initialValue, this.historyLimit = 10})
    : super(initialValue) {
  if (initialValue != null || isNullable) {
    _addValueToHistory(initialValue as T);
  }
}