installApk static method

Future<FlutterError?> installApk(
  1. String filePath
)

Only for android, should check platform before use.

Implementation

static Future<FlutterError?> installApk(String filePath) async {
  return methodChannel.invokeMethod("installApk", { "filePath": filePath });
}