install static method
iosUrl not work with the iOS Simulator
Implementation
static Future<dynamic> install({String? filePath, String? iosUrl}) async {
if (Platform.isAndroid) {
if (filePath != null) {
return _channel.invokeMethod(INSTALL, {'filePath': filePath});
}
} else {
if (iosUrl != null) {
return _channel.invokeMethod(INSTALL, {'url': iosUrl});
}
}
return "params error or not support platform";
}