toLogTargetType method

LogTargetType toLogTargetType()

Implementation

LogTargetType toLogTargetType() {
  switch (this) {
    case 'DEFAULT':
      return LogTargetType.$default;
    case 'THING_GROUP':
      return LogTargetType.thingGroup;
  }
  throw Exception('$this is not known in enum LogTargetType');
}