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