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