registerWith static method
Implementation
static void registerWith(Registrar registrar) {
_channel = MethodChannel(
'autologin_plugin',
const StandardMethodCodec(),
registrar,
);
final pluginInstance = AutologinPlugin();
_channel.setMethodCallHandler(pluginInstance.handleMethodCall);
}