registerWith static method

void registerWith(
  1. Registrar registrar
)

Registers MicrophoneWeb as the default instance of the MicrophonePlatformInterface.

Implementation

static void registerWith(Registrar registrar) {
  MicrophonePlatformInterface.instance = MicrophoneWeb();
}