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