init method
Implementation
Future<void> init() async {
if (_initialized) {
return;
}
try {
await io.Process.run(_adbPath!, ['--version'], runInShell: true);
_initialized = true;
} on io.ProcessException catch (e) {
throw AdbNotFoundException(message: e);
}
}