AllMessagesHandler typedef Null safety
A function which takes the name of the method channel, it's handler, platform message and asynchronously returns an encoded response.
Implementation
typedef AllMessagesHandler = Future<ByteData?>? Function(
String channel, MessageHandler? handler, ByteData? message);