toACPLoggingLevel property
ACPLoggingLevel
get
toACPLoggingLevel
Implementation
ACPLoggingLevel get toACPLoggingLevel {
switch (this) {
case 'ACP_LOG_LEVEL_ERROR':
return ACPLoggingLevel.error;
case 'ACP_LOG_LEVEL_WARNING':
return ACPLoggingLevel.warning;
case 'ACP_LOG_LEVEL_DEBUG':
return ACPLoggingLevel.debug;
case 'ACP_LOG_LEVEL_VERBOSE':
return ACPLoggingLevel.verbose;
}
throw Exception('Invalid ACPLoggingLevel value: $this');
}