isConst property

bool get isConst

Defines if field should be const or not

If key not specified field will be treated as const by default

Implementation

bool get isConst {
  if (!isStatic) {
    return false;
  }

  return extField[ConfigFieldType.CONST] ??
      field[ConfigFieldType.CONST] ??
      true;
}