registerWith static method
Implementation
static void registerWith(Registrar registrar) {
final MethodChannel channel = MethodChannel(
'snowplow_tracker',
const StandardMethodCodec(),
registrar,
);
final pluginInstance = SnowplowTrackerPluginWeb();
channel.setMethodCallHandler(pluginInstance.handleMethodCall);
}