V2RayStatus class

Represents the current status of a V2Ray connection.

This class holds various metrics and state information about the V2Ray service, including connection duration, speeds, and traffic data.

Constructors

V2RayStatus.new({String duration = '00:00:00', int uploadSpeed = 0, int downloadSpeed = 0, int upload = 0, int download = 0, String state = 'DISCONNECTED'})
Creates a new V2RayStatus instance with the given parameters.

Properties

download int
The total downloaded data in bytes.
final
downloadSpeed int
The current download speed in bytes per second.
final
duration String
The duration of the current connection in 'HH:MM:SS' format.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String
The current connection state (e.g., 'CONNECTED', 'DISCONNECTED').
final
upload int
The total uploaded data in bytes.
final
uploadSpeed int
The current upload speed in bytes per second.
final

Methods

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