update method

bool update()

Implementation

@pragma('vm:prefer-inline')
@pragma('wasm:prefer-inline')
@pragma('dart2js:prefer-inline')
bool update() {
  flags = 1 /* Mutable */;
  if (previousValue != latestValue) {
    previousValue = latestValue;
    return true;
  }

  return false;
}