PlatformMessageCallback typedef

void PlatformMessageCallback (String name, ByteData data, PlatformMessageResponseCallback callback)

Signature for Window.onPlatformMessage.

Implementation

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