sendEventToNative method

void sendEventToNative(
  1. String eventName,
  2. dynamic args
)

Implementation

void sendEventToNative(String eventName,dynamic args) async{
  NativeMessage msg=NativeMessage(eventName,args);
  _messageChannel.send(msg.toJson());
}