isEnabled property

bool get isEnabled

Enables/disables memoization (math always runs the full path when off).

Implementation

static bool get isEnabled => _enabled;
set isEnabled (bool value)

Implementation

static set isEnabled(bool value) {
  _enabled = value;
  if (!value) clear();
}