sendDataToPlugin static method
Implementation
static void sendDataToPlugin(Map<String, dynamic> map) async {
  try {
    await methodChannel.invokeMethod('receiveDataFromWeb', map);
  } on PlatformException catch (e) {
    print("Failed to send data to plugin: '${e.message}'.");
  }
}