coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case info:
      return 0;
    case warning:
      return 1;
    case error:
      return 2;
  }
}