MessageHandler typedef Null safety
A function which takes a platform message and asynchronously returns an encoded response.
Implementation
typedef MessageHandler = Future<ByteData?>? Function(ByteData? message);
A function which takes a platform message and asynchronously returns an encoded response.
typedef MessageHandler = Future<ByteData?>? Function(ByteData? message);