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