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