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 non-existent 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