V2RayStatus constructor
V2RayStatus({})
Creates a new V2RayStatus instance with the given parameters.
duration defaults to '00:00:00' if not provided.
uploadSpeed defaults to 0.
downloadSpeed defaults to 0.
upload defaults to 0.
download defaults to 0.
state defaults to 'DISCONNECTED'.
Implementation
V2RayStatus({
this.duration = '00:00:00',
this.uploadSpeed = 0,
this.downloadSpeed = 0,
this.upload = 0,
this.download = 0,
this.state = 'DISCONNECTED',
});