GetDetails constructor

GetDetails({
  1. required String primaryUrl,
  2. String? secondaryUrl,
  3. ResourceIdentifier? resourceIdentifier,
  4. bool? incognito,
})

Implementation

GetDetails({
  /// The primary URL for which the content setting should be retrieved. Note
  /// that the meaning of a primary URL depends on the content type.
  required String primaryUrl,

  /// The secondary URL for which the content setting should be retrieved.
  /// Defaults to the primary URL. Note that the meaning of a secondary URL
  /// depends on the content type, and not all content types use secondary
  /// URLs.
  String? secondaryUrl,

  /// A more specific identifier of the type of content for which the settings
  /// should be retrieved.
  ResourceIdentifier? resourceIdentifier,

  /// Whether to check the content settings for an incognito session. (default
  /// false)
  bool? incognito,
}) : _wrapped = $js.GetDetails(
        primaryUrl: primaryUrl,
        secondaryUrl: secondaryUrl,
        resourceIdentifier: resourceIdentifier?.toJS,
        incognito: incognito,
      );