lazyUndoRedo<T> static method
Like undoRedo, but the initial value is lazily initialized.
Implementation
static UndoRedoBeacon<T> lazyUndoRedo<T>({
T? initialValue,
int historyLimit = 10,
}) {
return UndoRedoBeacon<T>(
initialValue: initialValue,
historyLimit: historyLimit,
);
}