DoKitBinaryMessenger class
Methods
-
checkMessageHandler(String channel, dynamic handler)
→ bool
-
-
checkMockMessageHandler(String channel, MessageHandler? handler)
→ bool
-
-
decodeByteMessage(String name, ByteData? data, bool send)
→ IInfo?
-
-
decodeMessage(String name, ByteData? data, MessageCodec codec, bool send)
→ IInfo
-
-
decodeMethod(String name, ByteData? data, MethodCodec codec, bool send)
→ IInfo
-
-
filterSystemChannel(String name, ByteData? data, bool send)
→ IInfo?
-
-
handlePlatformMessage(String channel, ByteData? data, PlatformMessageResponseCallback? callback)
→ Future<void>
-
Queues a message.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveResult(ChannelInfo? info, ByteData? result)
→ void
-
-
saveMessage(String name, ByteData? data, bool send)
→ ChannelInfo?
-
-
send(String channel, ByteData? message)
→ Future<ByteData?>?
-
Send a binary message to the platform plugins on the given channel.
override
-
setMessageHandler(String channel, MessageHandler? handler)
→ void
-
Set a callback for receiving messages from the platform plugins on the
given channel, without decoding them.
override
-
setMockMessageHandler(String channel, dynamic handler)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited