registerWith static method
Registering method
Implementation
static void registerWith(Registrar registrar) {
final channel = MethodChannel(
'camcode',
const StandardMethodCodec(),
// ignore: unnecessary_cast
registrar as BinaryMessenger,
);
final pluginInstance = CamcodeWeb();
channel.setMethodCallHandler(pluginInstance.handleMethodCall);
}