handleMethodCall static method
处理方法回调
Implementation
static handleMethodCall(MethodCall methodCall) {
Log.i(tag, "handleMethodCall:"+methodCall.method);
Function? fun = _methodNameMap[methodCall.method];
if (fun != null) {
fun(methodCall.arguments);
} else {
Log.i(tag, "method not found");
}
}