registerWith static method
Implementation
static void registerWith(Registrar registrar) {
final MethodChannel _dartToNativeMethodChannel = MethodChannel(
'clevertap_plugin/dart_to_native',
const StandardMethodCodec(),
registrar,
);
final pluginInstance = CleverTapPluginWeb();
_dartToNativeMethodChannel
.setMethodCallHandler(pluginInstance._handleMethodCall);
setLibrary(MainPlugin.CleverTapPlugin.libName,
MainPlugin.CleverTapPlugin.libVersion);
}