sftpLs method
Performs a directory listing using SFTP. Defaults to the current directory.
var array = await client.sftpLs("/home");
Implementation
Future<List?> sftpLs([String path = '.']) async {
var result = await _channel.invokeMethod('sftpLs', {
"id": id,
"path": path,
});
return result;
}