getValue method

dynamic getValue(
  1. bool undo
)

This is a convenient method to get the right value, depending on the value of undo, when implementing a state change as part of an undo or a redo. @param {boolean} undo If true, returns the oldValue, otherwise returns the newValue. @return {*} Either the oldValue or the newValue.

Implementation

_i2.dynamic getValue(_i2.bool undo) => _i4.callMethod(
      this,
      'getValue',
      [undo],
    );