createCLLocationCoordinate2D function

Future<CLLocationCoordinate2D> createCLLocationCoordinate2D(
  1. double latitude,
  2. double longitude
)

Implementation

Future<CLLocationCoordinate2D> createCLLocationCoordinate2D(
    double latitude, double longitude) async {
  final int refId = await kMethodChannel.invokeMethod(
      'PlatformFactory::createCLLocationCoordinate2D',
      {'latitude': latitude, 'longitude': longitude});
  return CLLocationCoordinate2D()
    ..refId = refId
    ..tag = 'platform';
}