OptionalMethodChannel constructor
- String name, [
- MethodCodec codec = const StandardMethodCodec(),
- BinaryMessenger? binaryMessenger
Creates a MethodChannel that ignores missing platform plugins.
Implementation
const OptionalMethodChannel(super.name, [super.codec, super.binaryMessenger]);