registerWith static method
Registers this class as the default instance of GeolocatorPlatform.
Implementation
static void registerWith(Registrar registrar) {
GeolocatorPlatform.instance = GeolocatorPlugin.private(
HtmlGeolocationManager(),
HtmlPermissionsManager(),
);
}