Function setDark

Source
setDark(value: boolean): void

Set the value of dark mode