PlatformMessageResponseCallback typedef

void PlatformMessageResponseCallback (ByteData data)

Signature for responses to platform messages.

Used as a parameter to Window.sendPlatformMessage and Window.onPlatformMessage.

Implementation

typedef PlatformMessageResponseCallback = void Function(ByteData data);