GeoMatchStatement class

A rule statement used to identify web requests based on country of origin.

Constructors

GeoMatchStatement({List<CountryCode>? countryCodes, ForwardedIPConfig? forwardedIPConfig})
GeoMatchStatement.fromJson(Map<String, dynamic> json)
factory

Properties

countryCodes List<CountryCode>?
An array of two-character country codes, for example, "US", "CN" , from the alpha-2 country ISO codes of the ISO 3166 international standard.
final
forwardedIPConfig ForwardedIPConfig?
The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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