V2ray constructor
V2ray({
- required void onStatusChanged(
- V2RayStatus status
Creates a new V2ray instance.
onStatusChanged
is a callback function that will be called whenever the V2Ray status changes.
Implementation
V2ray({required this.onStatusChanged});