SetDetails constructor
SetDetails({
- required String primaryPattern,
- String? secondaryPattern,
- ResourceIdentifier? resourceIdentifier,
- required Object setting,
- Scope? scope,
Implementation
SetDetails({
/// The pattern for the primary URL. For details on the format of a pattern,
/// see [Content Setting Patterns](contentSettings#patterns).
required String primaryPattern,
/// The pattern for the secondary URL. Defaults to matching all URLs. For
/// details on the format of a pattern, see [Content Setting
/// Patterns](contentSettings#patterns).
String? secondaryPattern,
/// The resource identifier for the content type.
ResourceIdentifier? resourceIdentifier,
/// The setting applied by this rule. See the description of the individual
/// ContentSetting objects for the possible values.
required Object setting,
/// Where to set the setting (default: regular).
Scope? scope,
}) : _wrapped = $js.SetDetails(
primaryPattern: primaryPattern,
secondaryPattern: secondaryPattern,
resourceIdentifier: resourceIdentifier?.toJS,
setting: setting.jsify()!,
scope: scope?.toJS,
);