androidLevel property Null safety

int androidLevel

Get Android level value

Implementation

int get androidLevel {
  switch (this) {
    case LogLevel.verbose:
      return 2; // Log.VERBOSE (2)

    case LogLevel.debug:
      return 3; // Log.DEBUG (3)

    case LogLevel.info:
      return 4; // Log.INFO (4)

    case LogLevel.warn:
      return 5; // Log.WARN (5)

    case LogLevel.error:
      return 6; // Log.ERROR (6)

    default:
      return 2; // Log.VERBOSE (2)
  }
}