initWithCoordinates_count_identifier method

Future<AMapLocationPolygonRegion?> initWithCoordinates_count_identifier(
  1. List<CLLocationCoordinate2D> coordinates,
  2. int count,
  3. String identifier
)

Implementation

Future<AMapLocationPolygonRegion?> initWithCoordinates_count_identifier(List<CLLocationCoordinate2D> coordinates, int count, String identifier) async {
  // print log
  if (fluttifyLogEnabled) {
    debugPrint('fluttify-dart: AMapLocationPolygonRegion@$refId::initWithCoordinates([\'count\':$count, \'identifier\':$identifier])');
  }

  // invoke native method
  final __result__ = await kAmapLocationFluttifyChannel.invokeMethod('AMapLocationPolygonRegion::initWithCoordinates_count_identifier', {"coordinates": coordinates, "count": count, "identifier": identifier, "__this__": this});


  // handle native call


  return AmapLocationFluttifyIOSAs<AMapLocationPolygonRegion>(__result__);
}