flags property

int flags

Implementation

int get flags {
  var flags = 0;
  if (hasCondition) flags |= 1;
  if (hasCondition) flags |= 1;
  if (hasStartContent) flags |= 2;
  if (hasChoiceOnlyContent) flags |= 4;
  if (isInvisibleDefault) flags |= 8;
  if (onceOnly) flags |= 16;
  return flags;
}
void flags=(dynamic value)

Implementation

set flags(value) {
  hasCondition = (value & 1) > 0;
  hasStartContent = (value & 2) > 0;
  hasChoiceOnlyContent = (value & 4) > 0;
  isInvisibleDefault = (value & 8) > 0;
  onceOnly = (value & 16) > 0;
}