BasicMessageChannel<T> constructor
- String name,
- MessageCodec<
T> codec, { - BinaryMessenger? binaryMessenger,
Creates a BasicMessageChannel with the specified name, codec and
binaryMessenger
.
The default ServicesBinding.defaultBinaryMessenger instance is used if
binaryMessenger
is null.
Implementation
const BasicMessageChannel(this.name, this.codec, { BinaryMessenger? binaryMessenger })
: _binaryMessenger = binaryMessenger;