coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case dash:
      return 0;
    case dashDot:
      return 1;
    case dashDotDot:
      return 2;
    case dot:
      return 3;
    case null_:
      return 4;
    case solid:
      return 5;
    case longDash:
      return 6;
    case longDashDot:
      return 7;
    case shortDash:
      return 8;
    case shortDashDot:
      return 9;
    case shortDashDotDot:
      return 10;
    case shortDot:
      return 11;
  }
}