PlatformMessageCallback typedef

void PlatformMessageCallback (
  1. String name,
  2. ByteData data,
  3. PlatformMessageResponseCallback callback
)

Signature for Window.onPlatformMessage.

Implementation

typedef PlatformMessageCallback = void Function(String name, ByteData data, PlatformMessageResponseCallback callback);