SettingsCallbackResult constructor

SettingsCallbackResult({
  1. required RemovalOptions options,
  2. required DataTypeSet dataToRemove,
  3. required DataTypeSet dataRemovalPermitted,
})

Implementation

SettingsCallbackResult({
  required RemovalOptions options,

  /// All of the types will be present in the result, with values of `true` if
  /// they are both selected to be removed and permitted to be removed,
  /// otherwise `false`.
  required DataTypeSet dataToRemove,

  /// All of the types will be present in the result, with values of `true` if
  /// they are permitted to be removed (e.g., by enterprise policy) and
  /// `false` if not.
  required DataTypeSet dataRemovalPermitted,
}) : _wrapped = $js.SettingsCallbackResult(
        options: options.toJS,
        dataToRemove: dataToRemove.toJS,
        dataRemovalPermitted: dataRemovalPermitted.toJS,
      );