PlatformMessageResponseCallback typedef

PlatformMessageResponseCallback = void Function(ByteData? data)

Signature for responses to platform messages.

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

Implementation

typedef PlatformMessageResponseCallback = void Function(ByteData? data);