hcInvokeNativeMethod<T> function
Invoke Native method and get result
Implementation
Future<T?> hcInvokeNativeMethod<T>(
String channel,
String method, [
dynamic arguments,
]) async {
var platform = MethodChannel(channel);
return await platform.invokeMethod<T>(method, arguments);
}