VNextModel<T extends WithLevel> class abstract

Base model for VNext entries (VLESS, VMess, etc.)

Implementers
Annotations
  • @JsonSerializable.new(includeIfNull: false, createFactory: false, createToJson: false)

Constructors

VNextModel({required String address, required int port, required List<T> users})
const

Properties

address String
Server address (IPv4, IPv6, or domain).
final
hashCode int
The hash code for this object.
no setterinherited
port int
Server port.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
users List<T>
List of users for this server.
final

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