MPEventChannel class
- Inheritance
-
- Object
- EventChannel
- MPEventChannel
Constructors
- MPEventChannel(String name, [dynamic codec = const StandardMethodCodec(), BinaryMessenger? binaryMessenger])
Properties
- binaryMessenger → BinaryMessenger
-
The messenger which sends the bytes for this channel.
no setterinherited
- channelName ↔ String?
-
getter/setter pair
- codec → MethodCodec
-
The message codec used by this channel, not null.
finalinherited
- engine ↔ MPEngine?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The logical channel on which communication happens, not null.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCancel(
dynamic params) → void -
onListen(
dynamic params, dynamic eventSink(dynamic data)) → void -
receiveBroadcastStream(
[dynamic arguments]) → Stream -
Sets up a broadcast stream for receiving events on this channel.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited