toFieldLogLevel method

FieldLogLevel toFieldLogLevel()

Implementation

FieldLogLevel toFieldLogLevel() {
  switch (this) {
    case 'NONE':
      return FieldLogLevel.none;
    case 'ERROR':
      return FieldLogLevel.error;
    case 'ALL':
      return FieldLogLevel.all;
  }
  throw Exception('$this is not known in enum FieldLogLevel');
}