PlatformMessageResponseCallback typedef

void PlatformMessageResponseCallback (
  1. 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);