registerWith static method

void registerWith(
  1. Registrar registrar
)

Registers this plugin implementation with the web plugin registrar.

Flutter calls this automatically; there is no need to invoke it manually.

Implementation

static void registerWith(Registrar registrar) {
  // The platform implementation is selected at compile time via conditional
  // imports (dart.library.js_interop → serial_platform_factory_web.dart →
  // WebSerialImpl). No MethodChannel registration is needed because
  // SerialPlatformInterface uses a factory constructor, not a method channel.
}