RemoteControllerService class

Constructors

RemoteControllerService({required FlutterSdkManager flutterSdkManager})

Properties

hashCode int
The hash code for this object.
no setterinherited
hostPlatform HostRunnerPlatform
final
processManager → ProcessManager
final
processRunner → ProcessUtils
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findFlutterPath(String username, InternetAddress ip) Future<String?>
finds flutter in the remote machine using ssh connection returns the path of flutter if found it otherwise returns null
findFlutterPathInteractive(String username, InternetAddress ip, {bool addHostToKnownHosts = true}) Future<String?>
'find / -type f -name "flutter" -path "/flutter/bin/" 2>/dev/null',
findFlutterVersion(String username, InternetAddress ip, String flutterRunnerPath, {bool addHostToKnownHosts = true}) Future<String?>
findSnappInstallerPath(String username, InternetAddress ip, {bool addHostToKnownHosts = true}) Future<String?>
findSnappInstallerPathInteractive(String username, InternetAddress ip, {bool addHostToKnownHosts = true}) Future<String?>
finds snapp_installer in the remote machine using ssh connection interactively
findToolPath({required String username, required InternetAddress ip, required String toolName, String? toolPath, List<String>? preferredPaths, bool addHostToKnownHosts = true}) Future<String?>
Searches for the specified tool on a remote machine using SSH and returns the path if found.
findToolPathInteractive({required String username, required InternetAddress ip, required String toolName, String? toolPath, List<String>? preferredPaths, bool addHostToKnownHosts = true}) Future<String?>
installFlutterOnRemote(String username, InternetAddress ip, {String? version, bool addHostToKnownHosts = true}) Future<bool>
in install flutter in the remote machine using ssh connection
installFlutterPiOnRemote(String username, InternetAddress ip, {bool addHostToKnownHosts = true}) Future<bool>
installSnappInstallerOnRemote(String username, InternetAddress ip, {bool addHostToKnownHosts = true}) Future<bool>
install snapp_installer in the remote machine using ssh connection
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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