FlutterVlessURL class abstract
A parsed share link or imported Xray configuration.
Use FlutterVless.parse or FlutterVless.parseMany to select an importer.
Parsing and JSON generation do not connect, resolve names or establish that
the active native backend supports every requested transport. Configurations
and source links can contain credentials; keep them out of application logs.
- Implementers
Constructors
- FlutterVlessURL({required String url})
-
Creates a parsed-profile base with the original source text in
url.
Properties
- address → String
-
Remote endpoint host exposed by this importer, or an empty base default.
no setter
- allowInsecure → bool
-
Legacy insecure-TLS hint; the base implementation is always false.
no setter
-
fullConfiguration
→ Map<
String, dynamic> -
Full generated configuration with a local SOCKS input and proxy, direct
and blackhole outputs.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → int
-
User policy level included in generated inbound and outbound settings.
no setter
- network → String
-
Initial transport network used when creating streamSettingsBuilder.
no setter
-
outbound1
→ Map<
String, dynamic> -
Primary outbound JSON for this profile.
no setter
- port → int
-
Remote server port; share-link implementations use 443 when omitted.
no setter
- remark → String
-
Display name for the profile; the base implementation has no name.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- security → String
-
Default protocol-level cipher selection used by generated user settings.
no setter
-
streamSetting
→ Map<
String, dynamic> -
Current builder settings serialized as the Xray
streamSettingsobject.no setter - streamSettingsBuilder → XrayStreamSettingsBuilder
-
Mutable transport builder used when generating the primary outbound.
latefinal
- url → String
-
Original share link or configuration text, which may include credentials.
final
Methods
-
buildProxyOutbound(
{required String protocol, required Map< String, dynamic> settings}) → Map<String, dynamic> -
Builds the
proxyoutbound fromprotocol, itssettingsand the current streamSettingsBuilder, with mux disabled. -
decodeXhttpExtra(
String? extra) → Map< String, dynamic> ? -
Decodes the XHTTP
extraJSON object from URL query parameters. -
emptyToDefault(
String? value, String fallback) → String -
Returns
fallbackwhenvalueis null or empty; otherwise returnsvalue. -
getFullConfiguration(
{int indent = 2}) → String -
Serializes fullConfiguration as JSON with
indentspaces per level. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
populateTlsSettings(
{required String? streamSecurity, required bool allowInsecure, required String? sni, required String? fingerprint, required String? alpns, required String? publicKey, required String? shortId, required String? spiderX, String? pinnedPeerCertSha256, String? verifyPeerCertByName}) → void - Updates the transport builder from TLS/Reality share-link settings.
-
populateTransportSettings(
{required String transport, required String? headerType, required String? host, required String? path, required String? seed, required String? quicSecurity, required String? key, required String? mode, required String? serviceName, String? extra}) → String -
Populates Xray
streamSettingsfrom VLESS URL query parameters. -
removeNulls(
dynamic params) → dynamic -
Returns the legacy typed-generator cleanup of
params. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited