getCurrentPosition
suspend fun Geolocation.getCurrentPosition(options: PositionOptions = unsafeJso()): GeolocationPosition(source)
The getCurrentPosition() method of the Geolocation interface is used to get the current position of the device.