postMessage method

Future<void> postMessage([
  1. dynamic data
])

Posts a message for other channels to receive and process.

Implementation

Future<void> postMessage([dynamic data]) async {
  _channel.postMessage(data);
}