PacScript constructor

PacScript({
  1. String? url,
  2. String? data,
  3. bool? mandatory,
})

Implementation

PacScript({
  /// URL of the PAC file to be used.
  String? url,

  /// A PAC script.
  String? data,

  /// If true, an invalid PAC script will prevent the network stack from
  /// falling back to direct connections. Defaults to false.
  bool? mandatory,
}) : _wrapped = $js.PacScript(
        url: url,
        data: data,
        mandatory: mandatory,
      );