setMethodCallHandler method
Implementation
void setMethodCallHandler(Future<dynamic> Function(FlutterAndroidLauncherMethodCall call)? handler) {
FlutterAndroidLauncherPlatform.instance.setMethodCallHandler((MethodCall call) async {
if (handler != null) {
return await handler(FlutterAndroidLauncherMethodCall(call.method, call.arguments));
}
return null;
});
}