handlePlatformMessage method

  1. @override
Future<void> handlePlatformMessage (
  1. String channel,
  2. ByteData data,
  3. PlatformMessageResponseCallback callback

Calls the handler registered for the given channel.

Typically called by ServicesBinding to handle platform messages received from Window.onPlatformMessage.

To register a handler for a given message channel, see setMessageHandler.


Future<void> handlePlatformMessage(
    String channel,
    ByteData data,
    ui.PlatformMessageResponseCallback callback,
) {
  return delegate.handlePlatformMessage(channel, data, callback);