postWebMessageAsJson method
Posts a web message as JSON on Windows.
Throws an unsupported PlatformException on macOS and Linux.
Implementation
@override
Future<void> postWebMessageAsJson(String webMessage) async {
return channel.invokeMethod("postWebMessageAsJson", {
"viewId": viewId,
"webMessage": webMessage,
});
}