PluginEventChannel<T> constructor
Null safety
- String name,
- [MethodCodec codec = const StandardMethodCodec(),
- BinaryMessenger? binaryMessenger]
Creates a new plugin event channel.
Implementation
const PluginEventChannel(
this.name, [
this.codec = const StandardMethodCodec(),
this.binaryMessenger,
]) : assert(name != null),
assert(codec != null);