DefaultBinaryMessengerWithMonitor class

The class copy form BinaryMessenger, but it has monitor channel profiler.

The default implementation of BinaryMessenger.

This messenger sends messages from the app-side to the platform-side and dispatches incoming messages from the platform-side to the appropriate handler.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkMessageHandler(String channel, MessageHandler? handler) bool
checkMockMessageHandler(String channel, MessageHandler? handler) bool
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
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, MessageHandler? handler) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance DefaultBinaryMessengerWithMonitor
final