XrayConfigValidator class

Early structural checks for imported Xray configurations.

These checks do not run Core, resolve names, inspect files or prove platform support/network reachability. Unknown protocol and transport values are left to final native validation rather than a fixed Dart allowlist.

Constructors

XrayConfigValidator()
Creates the stateless structural validator.
const

Properties

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
toString() → String
A string representation of this object.
inherited
validate(Map<String, dynamic> config) → void
Checks inspected root, inbound, outbound and GeoDAT fields in config.
validateJsonString(String config) → Map<String, dynamic>
Decodes and checks one JSON configuration object, returning its map.

Operators

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