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