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