PluginEventChannel<T> constructor
- 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,
]);