toCodec method
Implementation
Map<String, dynamic> toCodec() {
final Map<String, dynamic> result = <String, dynamic>{};
if (flushEventsIntervalMs != null) {
result['flushEventsIntervalMs'] = flushEventsIntervalMs;
}
if (disableEventLogging != null) {
result['disableEventLogging'] = disableEventLogging;
}
if (enableEdgeDB != null) result['enableEdgeDB'] = enableEdgeDB;
if (configCacheTTL != null) result['configCacheTTL'] = configCacheTTL;
if (disableConfigCache != null) {
result['disableConfigCache'] = disableConfigCache;
}
if (logLevel != null) result['logLevel'] = logLevel?.name;
return result;
}