SshvpnFlutter class

Constructors

SshvpnFlutter.new()

Properties

channel MethodChannel
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() Future<bool?>
Starts connection between client and provided SSHServer Before try to connect , make sure you have called setup metthod
disconnect() Future<bool?>
Disconnects current running ssh connection
lastStatus() Future<String?>
Returns last connection status
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onStatusChanged({OnConnected? onConnectedResult, OnConnecting? onConnectingResult, OnDisconnected? onDisconnectedResult, OnError? onError}) Future
As the status changed , it gets called
setup({required SSHServer server}) Future<bool?>
Sets provided SSHServer and registers your application as vpn in user's phone settings
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited