onStateChanged property

Stream<FlutterVpnState> onStateChanged

Receive state change from VPN service.

Can only be listened once. If have more than one subscription, only the last subscription can receive events.

Implementation

Stream<FlutterVpnState> get onStateChanged => throw UnimplementedError();