global property

bool get global

Getter for the global flag. Returns true if the global flag is set, otherwise returns false.

Implementation

bool get global => _globalFlag[this] ?? false;
set global (bool value)

Setter for the global flag. Allows setting the global flag to true or false.

Implementation

set global(bool value) {
  _globalFlag[this] = value;
}