registerWith static method

void registerWith(
  1. Registrar registrar
)

Registers this class as the default instance of GeolocatorPlatform.

Implementation

static void registerWith(Registrar registrar) {
  GeolocatorPlatform.instance = GeolocatorPlugin.private(
    HtmlGeolocationManager(),
    HtmlPermissionsManager(),
  );
}