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