topicsEnabled property

ChromeSetting get topicsEnabled

If disabled, the Topics API is deactivated. The value of this preference is of type boolean, and the default value is true. Extensions may only disable this API by setting the value to false. If you try setting this API to true, it will throw an error.

Implementation

ChromeSetting get topicsEnabled =>
    ChromeSetting.fromJS(_wrapped.topicsEnabled);
set topicsEnabled (ChromeSetting v)

Implementation

set topicsEnabled(ChromeSetting v) {
  _wrapped.topicsEnabled = v.toJS;
}