installApk<bool> static method

Future installApk<bool>(
  1. String path
)

Implementation

static Future installApk<bool>(String path) async {
  try {
    await _channel.invokeMethod('install', {"path": path});
  } catch (err) {
    return false;
  }
  return true;
}