V2ray constructor

V2ray({
  1. required void onStatusChanged(
    1. 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});