DVWafSource class

Where a rule applies.

A request whose country is unknown is outside every within list and therefore inside every notIn one: an allow-list fails closed.

Constructors

DVWafSource.anywhere()
const
DVWafSource.notIn(List<String> countries)
Requests from anywhere but countries, including from nowhere known.
const
DVWafSource.within(List<String> countries)
Requests from one of countries.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAnywhere → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(String? country) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited