coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case lineThrough:
      return 0;
    case none:
      return 1;
    case underline:
      return 2;
  }
}