KeyboardBinaryMessenger class

Inheritance

Constructors

KeyboardBinaryMessenger(BinaryMessenger delegate)

Properties

delegate BinaryMessenger
final
hashCode int
The hash code for this object.
no setterinherited
pendingMessageCount int
no setter
platformMessagesFinished Future<void>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkMessageHandler(String channel, MessageHandler? handler) bool
checkMockMessageHandler(String channel, Object? handler) bool
handlePlatformMessage(String channel, ByteData? data, PlatformMessageResponseCallback? callback) Future<ByteData?>
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
setMockDecodedMessageHandler<T>(BasicMessageChannel<T> channel, Future<T> handler(T? message)) → void
setMockMessageHandler(String channel, MessageHandler? handler, [Object? identity]) → void
setMockMethodCallHandler(MethodChannel channel, Future<Object?>? handler(MethodCall message)) → void
toString() String
A string representation of this object.
inherited

Operators

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