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