currentLocation method

  1. @override
Future<void> currentLocation(
  1. int? idOSM
)
override

Implementation

@override
Future<void> currentLocation(int? idOSM) async {
  try {
    await _channels[idOSM]?.invokeMethod("currentLocation", null);
  } on PlatformException catch (e) {
    throw GeoPointException(msg: e.message);
  }
}