parseConfigLogSQL static method
Implementation
static bool? parseConfigLogSQL(Map<String, dynamic>? config) {
var logSql = config?.getIgnoreCase('log.sql');
if (logSql != null) {
return parseBool(logSql);
}
var log = config?['log'];
if (log is Map) {
var logSql = log.getIgnoreCase('sql');
if (logSql != null) {
return parseBool(log);
}
}
if (log != null) {
return parseBool(log);
}
return null;
}