findFlutterPath method

Future<String?> findFlutterPath(
  1. String username,
  2. InternetAddress ip
)

finds flutter in the remote machine using ssh connection returns the path of flutter if found it otherwise returns null

Implementation

Future<String?> findFlutterPath(
  String username,
  InternetAddress ip,
) =>
    findToolPath(
      username: username,
      ip: ip,
      toolName: 'flutter',
      toolPath: '*/flutter/bin/*',
    );