coord property

Future<LatLng> coord

Implementation

Future<LatLng> get coord {
  return platform(
    android: (pool) async {
      return LatLng(
        await _androidModel.latitude,
        await _androidModel.longitude,
      );
    },
    ios: (pool) async {
      final location = await _iosModel.get_coordinate();
      return LatLng(await location.latitude, await location.longitude);
    },
  );
}