getUserLocation method

Future<Coordinate?> getUserLocation()

get user location coordinates

Implementation

Future<Coordinate?> getUserLocation() async {
  final result = await _channel.invokeMethod('getUserLocation');
  return result != null ? Coordinate.fromMap(result) : null;
}