registerWith static method
Register the web plugin.
Implementation
static void registerWith(Registrar registrar) {
final MethodChannel channel = MethodChannel(
'address_search_field',
const StandardMethodCodec(),
registrar,
);
final pluginInstance = AddressSearchFieldWeb();
channel.setMethodCallHandler(pluginInstance.handleMethodCall);
}