switchAccess property
ChromeSetting?
get
switchAccess
ChromeOS only.
Switch Access. The value indicates whether the feature is enabled or not.
get() requires accessibilityFeatures.read permission. set() and
clear() require accessibilityFeatures.modify permission.
Implementation
ChromeSetting? get switchAccess =>
$js.chrome.accessibilityFeatures.switchAccess?.let(ChromeSetting.fromJS);