disconnectDevice method

Future<bool> disconnectDevice(
  1. String host
)

Implementation

Future<bool> disconnectDevice(String host) async {
  try {
    final result = await _exec.run(adbPath, arguments: ['disconnect', host]);
    return result.success;
  } catch (_) {
    return false;
  }
}