Map<String, dynamic> toJson() { final loggers = this.loggers; return { if (loggers != null) 'Loggers': loggers, }; }