PlatformMessageCallback typedef
- String name,
- ByteData data,
- PlatformMessageResponseCallback callback
Signature for Window.onPlatformMessage.
Implementation
typedef PlatformMessageCallback = void Function(String name, ByteData data, PlatformMessageResponseCallback callback);