toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (enableConsole != null) {
    _json[r'EnableConsole'] = enableConsole;
  }
  if (consoleLevel != null) {
    _json[r'ConsoleLevel'] = consoleLevel;
  }
  if (enableFile != null) {
    _json[r'EnableFile'] = enableFile;
  }
  if (fileLevel != null) {
    _json[r'FileLevel'] = fileLevel;
  }
  if (fileLocation != null) {
    _json[r'FileLocation'] = fileLocation;
  }
  if (enableWebhookDebugging != null) {
    _json[r'EnableWebhookDebugging'] = enableWebhookDebugging;
  }
  if (enableDiagnostics != null) {
    _json[r'EnableDiagnostics'] = enableDiagnostics;
  }
  return _json;
}