registerWith static method

void registerWith(
  1. Registrar registrar
)

The entrypoint called by the generated plugin registrant.

Implementation

static void registerWith(Registrar registrar) {
  AudioplayersPlatformInterface.instance = WebAudioplayersPlatform();
  GlobalAudioplayersPlatformInterface.instance =
      WebGlobalAudioplayersPlatform();
}