icon property

int icon

Returns the color index value for an icon depending on the ZetaContrast value.

For ZetaContrast.aa, it returns 60. For ZetaContrast.aaa, it returns 80.

Implementation

int get icon {
  switch (this) {
    case ZetaContrast.aa:
      return 60;
    case ZetaContrast.aaa:
      return 80;
  }
}