method VisitorAbstract.prototype.setConsentimport { VisitorAbstract } from "https://deno.land/x/flagship_io_js_sdk@3.0.11/visitor/VisitorAbstract.ts"; setConsent(hasConsented: boolean): voidSet if visitor has consented for protected data usage. ParametershasConsented: booleanTrue if the visitor has consented false otherwise. Returnsvoid