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