getCurrentPosition method

Future getCurrentPosition()

Implementation

Future getCurrentPosition() async {
  final Position position = await Geolocator.getCurrentPosition();
  add(OnNewUserLocationEvent(LatLng(position.latitude, position.longitude)));
}