core.Map<core.String, core.dynamic> toJson() => { if (loggingConfig != null) 'loggingConfig': loggingConfig!, };