////////////////////////////////////////////////////////// // GENERATED BY FLUTTIFY. DO NOT EDIT IT. ////////////////////////////////////////////////////////// #import "SubHandler7.h" #import "FluttifyMessageCodec.h" #import #import "AMapNearbySearchManagerDelegate_Anonymous.h" #import "AMapSearchDelegate_Anonymous.h" // Dart端一次方法调用所存在的栈, 只有当MethodChannel传递参数受限时, 再启用这个容器 extern NSMutableDictionary* STACK; // Dart端随机存取对象的容器 extern NSMutableDictionary* HEAP; // 日志打印开关 extern BOOL enableLog; @implementation AmapSearchFluttifyPlugin (SubHandler7) - (NSDictionary*) getSubHandler7 { __weak __typeof(self)weakSelf = self; return @{ @"AMapBusLine::set_basicPrice": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapBusLine::set_basicPrice"); } // args // jsonable arg CGFloat basicPrice = [args[@"basicPrice"] floatValue]; // ref AMapBusLine* ref = (AMapBusLine*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.basicPrice = basicPrice; methodResult(@"success"); }, @"AMapBusLine::set_totalPrice": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapBusLine::set_totalPrice"); } // args // jsonable arg CGFloat totalPrice = [args[@"totalPrice"] floatValue]; // ref AMapBusLine* ref = (AMapBusLine*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.totalPrice = totalPrice; methodResult(@"success"); }, @"AMapBusLine::set_bounds": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapBusLine::set_bounds"); } // args // ref arg AMapGeoPolygon* bounds = (AMapGeoPolygon*) (args[@"bounds"] == [NSNull null] ? nil : args[@"bounds"]); // ref AMapBusLine* ref = (AMapBusLine*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.bounds = bounds; methodResult(@"success"); }, @"AMapBusLine::set_busStops": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapBusLine::set_busStops"); } // args // list arg NSArray* busStops = (NSArray*) args[@"busStops"]; // ref AMapBusLine* ref = (AMapBusLine*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.busStops = busStops; methodResult(@"success"); }, @"AMapBusLine::set_departureStop": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapBusLine::set_departureStop"); } // args // ref arg AMapBusStop* departureStop = (AMapBusStop*) (args[@"departureStop"] == [NSNull null] ? nil : args[@"departureStop"]); // ref AMapBusLine* ref = (AMapBusLine*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.departureStop = departureStop; methodResult(@"success"); }, @"AMapBusLine::set_arrivalStop": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapBusLine::set_arrivalStop"); } // args // ref arg AMapBusStop* arrivalStop = (AMapBusStop*) (args[@"arrivalStop"] == [NSNull null] ? nil : args[@"arrivalStop"]); // ref AMapBusLine* ref = (AMapBusLine*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.arrivalStop = arrivalStop; methodResult(@"success"); }, @"AMapBusLine::set_viaBusStops": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapBusLine::set_viaBusStops"); } // args // list arg NSArray* viaBusStops = (NSArray*) args[@"viaBusStops"]; // ref AMapBusLine* ref = (AMapBusLine*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.viaBusStops = viaBusStops; methodResult(@"success"); }, @"AMapBusLine::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapBusLine::set_duration"); } // args // jsonable arg NSInteger duration = [args[@"duration"] longValue]; // ref AMapBusLine* ref = (AMapBusLine*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.duration = duration; methodResult(@"success"); }, @"AMapDistrict::set_adcode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistrict::set_adcode"); } // args // jsonable arg NSString* adcode = (NSString*) args[@"adcode"]; // ref AMapDistrict* ref = (AMapDistrict*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.adcode = adcode; methodResult(@"success"); }, @"AMapDistrict::set_citycode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistrict::set_citycode"); } // args // jsonable arg NSString* citycode = (NSString*) args[@"citycode"]; // ref AMapDistrict* ref = (AMapDistrict*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.citycode = citycode; methodResult(@"success"); }, @"AMapDistrict::set_name": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistrict::set_name"); } // args // jsonable arg NSString* name = (NSString*) args[@"name"]; // ref AMapDistrict* ref = (AMapDistrict*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.name = name; methodResult(@"success"); }, @"AMapDistrict::set_level": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistrict::set_level"); } // args // jsonable arg NSString* level = (NSString*) args[@"level"]; // ref AMapDistrict* ref = (AMapDistrict*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.level = level; methodResult(@"success"); }, @"AMapDistrict::set_center": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistrict::set_center"); } // args // ref arg AMapGeoPoint* center = (AMapGeoPoint*) (args[@"center"] == [NSNull null] ? nil : args[@"center"]); // ref AMapDistrict* ref = (AMapDistrict*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.center = center; methodResult(@"success"); }, @"AMapDistrict::set_districts": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistrict::set_districts"); } // args // list arg NSArray* districts = (NSArray*) args[@"districts"]; // ref AMapDistrict* ref = (AMapDistrict*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.districts = districts; methodResult(@"success"); }, @"AMapDistrict::set_polylines": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistrict::set_polylines"); } // args // jsonable arg NSArray* polylines = (NSArray*) args[@"polylines"]; // ref AMapDistrict* ref = (AMapDistrict*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.polylines = polylines; methodResult(@"success"); }, @"AMapTMC::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTMC::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapTMC* ref = (AMapTMC*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapTMC::set_status": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTMC::set_status"); } // args // jsonable arg NSString* status = (NSString*) args[@"status"]; // ref AMapTMC* ref = (AMapTMC*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.status = status; methodResult(@"success"); }, @"AMapTMC::set_polyline": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTMC::set_polyline"); } // args // jsonable arg NSString* polyline = (NSString*) args[@"polyline"]; // ref AMapTMC* ref = (AMapTMC*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.polyline = polyline; methodResult(@"success"); }, @"AMapStep::set_instruction": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_instruction"); } // args // jsonable arg NSString* instruction = (NSString*) args[@"instruction"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.instruction = instruction; methodResult(@"success"); }, @"AMapStep::set_orientation": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_orientation"); } // args // jsonable arg NSString* orientation = (NSString*) args[@"orientation"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.orientation = orientation; methodResult(@"success"); }, @"AMapStep::set_road": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_road"); } // args // jsonable arg NSString* road = (NSString*) args[@"road"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.road = road; methodResult(@"success"); }, @"AMapStep::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapStep::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_duration"); } // args // jsonable arg NSInteger duration = [args[@"duration"] longValue]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.duration = duration; methodResult(@"success"); }, @"AMapStep::set_polyline": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_polyline"); } // args // jsonable arg NSString* polyline = (NSString*) args[@"polyline"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.polyline = polyline; methodResult(@"success"); }, @"AMapStep::set_action": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_action"); } // args // jsonable arg NSString* action = (NSString*) args[@"action"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.action = action; methodResult(@"success"); }, @"AMapStep::set_assistantAction": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_assistantAction"); } // args // jsonable arg NSString* assistantAction = (NSString*) args[@"assistantAction"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.assistantAction = assistantAction; methodResult(@"success"); }, @"AMapStep::set_tolls": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_tolls"); } // args // jsonable arg CGFloat tolls = [args[@"tolls"] floatValue]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.tolls = tolls; methodResult(@"success"); }, @"AMapStep::set_tollDistance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_tollDistance"); } // args // jsonable arg NSInteger tollDistance = [args[@"tollDistance"] longValue]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.tollDistance = tollDistance; methodResult(@"success"); }, @"AMapStep::set_tollRoad": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_tollRoad"); } // args // jsonable arg NSString* tollRoad = (NSString*) args[@"tollRoad"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.tollRoad = tollRoad; methodResult(@"success"); }, @"AMapStep::set_totalTrafficLights": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_totalTrafficLights"); } // args // jsonable arg NSInteger totalTrafficLights = [args[@"totalTrafficLights"] longValue]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.totalTrafficLights = totalTrafficLights; methodResult(@"success"); }, @"AMapStep::set_cities": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_cities"); } // args // list arg NSArray* cities = (NSArray*) args[@"cities"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.cities = cities; methodResult(@"success"); }, @"AMapStep::set_tmcs": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapStep::set_tmcs"); } // args // list arg NSArray* tmcs = (NSArray*) args[@"tmcs"]; // ref AMapStep* ref = (AMapStep*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.tmcs = tmcs; methodResult(@"success"); }, @"AMapPath::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapPath::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_duration"); } // args // jsonable arg NSInteger duration = [args[@"duration"] longValue]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.duration = duration; methodResult(@"success"); }, @"AMapPath::set_strategy": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_strategy"); } // args // jsonable arg NSString* strategy = (NSString*) args[@"strategy"]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.strategy = strategy; methodResult(@"success"); }, @"AMapPath::set_steps": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_steps"); } // args // list arg NSArray* steps = (NSArray*) args[@"steps"]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.steps = steps; methodResult(@"success"); }, @"AMapPath::set_tolls": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_tolls"); } // args // jsonable arg CGFloat tolls = [args[@"tolls"] floatValue]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.tolls = tolls; methodResult(@"success"); }, @"AMapPath::set_tollDistance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_tollDistance"); } // args // jsonable arg NSInteger tollDistance = [args[@"tollDistance"] longValue]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.tollDistance = tollDistance; methodResult(@"success"); }, @"AMapPath::set_totalTrafficLights": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_totalTrafficLights"); } // args // jsonable arg NSInteger totalTrafficLights = [args[@"totalTrafficLights"] longValue]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.totalTrafficLights = totalTrafficLights; methodResult(@"success"); }, @"AMapPath::set_restriction": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_restriction"); } // args // jsonable arg NSInteger restriction = [args[@"restriction"] longValue]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.restriction = restriction; methodResult(@"success"); }, @"AMapPath::set_polyline": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapPath::set_polyline"); } // args // jsonable arg NSString* polyline = (NSString*) args[@"polyline"]; // ref AMapPath* ref = (AMapPath*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.polyline = polyline; methodResult(@"success"); }, @"AMapFutureTimeInfoElement::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapFutureTimeInfoElement::set_duration"); } // args // jsonable arg NSInteger duration = [args[@"duration"] longValue]; // ref AMapFutureTimeInfoElement* ref = (AMapFutureTimeInfoElement*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.duration = duration; methodResult(@"success"); }, @"AMapFutureTimeInfoElement::set_pathindex": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapFutureTimeInfoElement::set_pathindex"); } // args // jsonable arg NSInteger pathindex = [args[@"pathindex"] longValue]; // ref AMapFutureTimeInfoElement* ref = (AMapFutureTimeInfoElement*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.pathindex = pathindex; methodResult(@"success"); }, @"AMapFutureTimeInfoElement::set_restriction": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapFutureTimeInfoElement::set_restriction"); } // args // jsonable arg NSInteger restriction = [args[@"restriction"] longValue]; // ref AMapFutureTimeInfoElement* ref = (AMapFutureTimeInfoElement*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.restriction = restriction; methodResult(@"success"); }, @"AMapFutureTimeInfoElement::set_tmcs": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapFutureTimeInfoElement::set_tmcs"); } // args // list arg NSArray* tmcs = (NSArray*) args[@"tmcs"]; // ref AMapFutureTimeInfoElement* ref = (AMapFutureTimeInfoElement*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.tmcs = tmcs; methodResult(@"success"); }, @"AMapFutureTimeInfo::set_startTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapFutureTimeInfo::set_startTime"); } // args // jsonable arg NSString* startTime = (NSString*) args[@"startTime"]; // ref AMapFutureTimeInfo* ref = (AMapFutureTimeInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.startTime = startTime; methodResult(@"success"); }, @"AMapFutureTimeInfo::set_elements": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapFutureTimeInfo::set_elements"); } // args // list arg NSArray* elements = (NSArray*) args[@"elements"]; // ref AMapFutureTimeInfo* ref = (AMapFutureTimeInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.elements = elements; methodResult(@"success"); }, @"AMapWalking::set_origin": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapWalking::set_origin"); } // args // ref arg AMapGeoPoint* origin = (AMapGeoPoint*) (args[@"origin"] == [NSNull null] ? nil : args[@"origin"]); // ref AMapWalking* ref = (AMapWalking*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.origin = origin; methodResult(@"success"); }, @"AMapWalking::set_destination": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapWalking::set_destination"); } // args // ref arg AMapGeoPoint* destination = (AMapGeoPoint*) (args[@"destination"] == [NSNull null] ? nil : args[@"destination"]); // ref AMapWalking* ref = (AMapWalking*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.destination = destination; methodResult(@"success"); }, @"AMapWalking::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapWalking::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapWalking* ref = (AMapWalking*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapWalking::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapWalking::set_duration"); } // args // jsonable arg NSInteger duration = [args[@"duration"] longValue]; // ref AMapWalking* ref = (AMapWalking*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.duration = duration; methodResult(@"success"); }, @"AMapWalking::set_steps": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapWalking::set_steps"); } // args // list arg NSArray* steps = (NSArray*) args[@"steps"]; // ref AMapWalking* ref = (AMapWalking*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.steps = steps; methodResult(@"success"); }, @"AMapTaxi::set_origin": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTaxi::set_origin"); } // args // ref arg AMapGeoPoint* origin = (AMapGeoPoint*) (args[@"origin"] == [NSNull null] ? nil : args[@"origin"]); // ref AMapTaxi* ref = (AMapTaxi*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.origin = origin; methodResult(@"success"); }, @"AMapTaxi::set_destination": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTaxi::set_destination"); } // args // ref arg AMapGeoPoint* destination = (AMapGeoPoint*) (args[@"destination"] == [NSNull null] ? nil : args[@"destination"]); // ref AMapTaxi* ref = (AMapTaxi*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.destination = destination; methodResult(@"success"); }, @"AMapTaxi::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTaxi::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapTaxi* ref = (AMapTaxi*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapTaxi::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTaxi::set_duration"); } // args // jsonable arg NSInteger duration = [args[@"duration"] longValue]; // ref AMapTaxi* ref = (AMapTaxi*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.duration = duration; methodResult(@"success"); }, @"AMapTaxi::set_sname": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTaxi::set_sname"); } // args // jsonable arg NSString* sname = (NSString*) args[@"sname"]; // ref AMapTaxi* ref = (AMapTaxi*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.sname = sname; methodResult(@"success"); }, @"AMapTaxi::set_tname": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTaxi::set_tname"); } // args // jsonable arg NSString* tname = (NSString*) args[@"tname"]; // ref AMapTaxi* ref = (AMapTaxi*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.tname = tname; methodResult(@"success"); }, @"AMapRailwayStation::set_uid": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwayStation::set_uid"); } // args // jsonable arg NSString* uid = (NSString*) args[@"uid"]; // ref AMapRailwayStation* ref = (AMapRailwayStation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.uid = uid; methodResult(@"success"); }, @"AMapRailwayStation::set_name": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwayStation::set_name"); } // args // jsonable arg NSString* name = (NSString*) args[@"name"]; // ref AMapRailwayStation* ref = (AMapRailwayStation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.name = name; methodResult(@"success"); }, @"AMapRailwayStation::set_location": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwayStation::set_location"); } // args // ref arg AMapGeoPoint* location = (AMapGeoPoint*) (args[@"location"] == [NSNull null] ? nil : args[@"location"]); // ref AMapRailwayStation* ref = (AMapRailwayStation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.location = location; methodResult(@"success"); }, @"AMapRailwayStation::set_adcode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwayStation::set_adcode"); } // args // jsonable arg NSString* adcode = (NSString*) args[@"adcode"]; // ref AMapRailwayStation* ref = (AMapRailwayStation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.adcode = adcode; methodResult(@"success"); }, @"AMapRailwayStation::set_time": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwayStation::set_time"); } // args // jsonable arg NSString* time = (NSString*) args[@"time"]; // ref AMapRailwayStation* ref = (AMapRailwayStation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.time = time; methodResult(@"success"); }, @"AMapRailwayStation::set_wait": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwayStation::set_wait"); } // args // jsonable arg NSInteger wait = [args[@"wait"] longValue]; // ref AMapRailwayStation* ref = (AMapRailwayStation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.wait = wait; methodResult(@"success"); }, @"AMapRailwayStation::set_isStart": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwayStation::set_isStart"); } // args // jsonable arg BOOL isStart = [args[@"isStart"] boolValue]; // ref AMapRailwayStation* ref = (AMapRailwayStation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.isStart = isStart; methodResult(@"success"); }, @"AMapRailwayStation::set_isEnd": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwayStation::set_isEnd"); } // args // jsonable arg BOOL isEnd = [args[@"isEnd"] boolValue]; // ref AMapRailwayStation* ref = (AMapRailwayStation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.isEnd = isEnd; methodResult(@"success"); }, @"AMapRailwaySpace::set_code": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwaySpace::set_code"); } // args // jsonable arg NSString* code = (NSString*) args[@"code"]; // ref AMapRailwaySpace* ref = (AMapRailwaySpace*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.code = code; methodResult(@"success"); }, @"AMapRailwaySpace::set_cost": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailwaySpace::set_cost"); } // args // jsonable arg CGFloat cost = [args[@"cost"] floatValue]; // ref AMapRailwaySpace* ref = (AMapRailwaySpace*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.cost = cost; methodResult(@"success"); }, @"AMapRailway::set_uid": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_uid"); } // args // jsonable arg NSString* uid = (NSString*) args[@"uid"]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.uid = uid; methodResult(@"success"); }, @"AMapRailway::set_name": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_name"); } // args // jsonable arg NSString* name = (NSString*) args[@"name"]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.name = name; methodResult(@"success"); }, @"AMapRailway::set_trip": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_trip"); } // args // jsonable arg NSString* trip = (NSString*) args[@"trip"]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.trip = trip; methodResult(@"success"); }, @"AMapRailway::set_type": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_type"); } // args // jsonable arg NSString* type = (NSString*) args[@"type"]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.type = type; methodResult(@"success"); }, @"AMapRailway::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapRailway::set_time": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_time"); } // args // jsonable arg NSInteger time = [args[@"time"] longValue]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.time = time; methodResult(@"success"); }, @"AMapRailway::set_departureStation": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_departureStation"); } // args // ref arg AMapRailwayStation* departureStation = (AMapRailwayStation*) (args[@"departureStation"] == [NSNull null] ? nil : args[@"departureStation"]); // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.departureStation = departureStation; methodResult(@"success"); }, @"AMapRailway::set_arrivalStation": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_arrivalStation"); } // args // ref arg AMapRailwayStation* arrivalStation = (AMapRailwayStation*) (args[@"arrivalStation"] == [NSNull null] ? nil : args[@"arrivalStation"]); // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.arrivalStation = arrivalStation; methodResult(@"success"); }, @"AMapRailway::set_spaces": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_spaces"); } // args // list arg NSArray* spaces = (NSArray*) args[@"spaces"]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.spaces = spaces; methodResult(@"success"); }, @"AMapRailway::set_viaStops": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_viaStops"); } // args // list arg NSArray* viaStops = (NSArray*) args[@"viaStops"]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.viaStops = viaStops; methodResult(@"success"); }, @"AMapRailway::set_alters": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRailway::set_alters"); } // args // list arg NSArray* alters = (NSArray*) args[@"alters"]; // ref AMapRailway* ref = (AMapRailway*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.alters = alters; methodResult(@"success"); }, @"AMapSegment::set_walking": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSegment::set_walking"); } // args // ref arg AMapWalking* walking = (AMapWalking*) (args[@"walking"] == [NSNull null] ? nil : args[@"walking"]); // ref AMapSegment* ref = (AMapSegment*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.walking = walking; methodResult(@"success"); }, @"AMapSegment::set_buslines": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSegment::set_buslines"); } // args // list arg NSArray* buslines = (NSArray*) args[@"buslines"]; // ref AMapSegment* ref = (AMapSegment*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.buslines = buslines; methodResult(@"success"); }, @"AMapSegment::set_taxi": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSegment::set_taxi"); } // args // ref arg AMapTaxi* taxi = (AMapTaxi*) (args[@"taxi"] == [NSNull null] ? nil : args[@"taxi"]); // ref AMapSegment* ref = (AMapSegment*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.taxi = taxi; methodResult(@"success"); }, @"AMapSegment::set_railway": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSegment::set_railway"); } // args // ref arg AMapRailway* railway = (AMapRailway*) (args[@"railway"] == [NSNull null] ? nil : args[@"railway"]); // ref AMapSegment* ref = (AMapSegment*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.railway = railway; methodResult(@"success"); }, @"AMapSegment::set_enterName": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSegment::set_enterName"); } // args // jsonable arg NSString* enterName = (NSString*) args[@"enterName"]; // ref AMapSegment* ref = (AMapSegment*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.enterName = enterName; methodResult(@"success"); }, @"AMapSegment::set_enterLocation": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSegment::set_enterLocation"); } // args // ref arg AMapGeoPoint* enterLocation = (AMapGeoPoint*) (args[@"enterLocation"] == [NSNull null] ? nil : args[@"enterLocation"]); // ref AMapSegment* ref = (AMapSegment*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.enterLocation = enterLocation; methodResult(@"success"); }, @"AMapSegment::set_exitName": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSegment::set_exitName"); } // args // jsonable arg NSString* exitName = (NSString*) args[@"exitName"]; // ref AMapSegment* ref = (AMapSegment*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.exitName = exitName; methodResult(@"success"); }, @"AMapSegment::set_exitLocation": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSegment::set_exitLocation"); } // args // ref arg AMapGeoPoint* exitLocation = (AMapGeoPoint*) (args[@"exitLocation"] == [NSNull null] ? nil : args[@"exitLocation"]); // ref AMapSegment* ref = (AMapSegment*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.exitLocation = exitLocation; methodResult(@"success"); }, @"AMapTransit::set_cost": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTransit::set_cost"); } // args // jsonable arg CGFloat cost = [args[@"cost"] floatValue]; // ref AMapTransit* ref = (AMapTransit*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.cost = cost; methodResult(@"success"); }, @"AMapTransit::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTransit::set_duration"); } // args // jsonable arg NSInteger duration = [args[@"duration"] longValue]; // ref AMapTransit* ref = (AMapTransit*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.duration = duration; methodResult(@"success"); }, @"AMapTransit::set_nightflag": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTransit::set_nightflag"); } // args // jsonable arg BOOL nightflag = [args[@"nightflag"] boolValue]; // ref AMapTransit* ref = (AMapTransit*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.nightflag = nightflag; methodResult(@"success"); }, @"AMapTransit::set_walkingDistance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTransit::set_walkingDistance"); } // args // jsonable arg NSInteger walkingDistance = [args[@"walkingDistance"] longValue]; // ref AMapTransit* ref = (AMapTransit*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.walkingDistance = walkingDistance; methodResult(@"success"); }, @"AMapTransit::set_segments": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTransit::set_segments"); } // args // list arg NSArray* segments = (NSArray*) args[@"segments"]; // ref AMapTransit* ref = (AMapTransit*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.segments = segments; methodResult(@"success"); }, @"AMapTransit::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTransit::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapTransit* ref = (AMapTransit*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapRoute::set_origin": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRoute::set_origin"); } // args // ref arg AMapGeoPoint* origin = (AMapGeoPoint*) (args[@"origin"] == [NSNull null] ? nil : args[@"origin"]); // ref AMapRoute* ref = (AMapRoute*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.origin = origin; methodResult(@"success"); }, @"AMapRoute::set_destination": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRoute::set_destination"); } // args // ref arg AMapGeoPoint* destination = (AMapGeoPoint*) (args[@"destination"] == [NSNull null] ? nil : args[@"destination"]); // ref AMapRoute* ref = (AMapRoute*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.destination = destination; methodResult(@"success"); }, @"AMapRoute::set_taxiCost": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRoute::set_taxiCost"); } // args // jsonable arg CGFloat taxiCost = [args[@"taxiCost"] floatValue]; // ref AMapRoute* ref = (AMapRoute*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.taxiCost = taxiCost; methodResult(@"success"); }, @"AMapRoute::set_paths": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRoute::set_paths"); } // args // list arg NSArray* paths = (NSArray*) args[@"paths"]; // ref AMapRoute* ref = (AMapRoute*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.paths = paths; methodResult(@"success"); }, @"AMapRoute::set_transits": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapRoute::set_transits"); } // args // list arg NSArray* transits = (NSArray*) args[@"transits"]; // ref AMapRoute* ref = (AMapRoute*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.transits = transits; methodResult(@"success"); }, @"AMapDistanceResult::set_originID": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistanceResult::set_originID"); } // args // jsonable arg NSInteger originID = [args[@"originID"] longValue]; // ref AMapDistanceResult* ref = (AMapDistanceResult*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.originID = originID; methodResult(@"success"); }, @"AMapDistanceResult::set_destID": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistanceResult::set_destID"); } // args // jsonable arg NSInteger destID = [args[@"destID"] longValue]; // ref AMapDistanceResult* ref = (AMapDistanceResult*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.destID = destID; methodResult(@"success"); }, @"AMapDistanceResult::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistanceResult::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapDistanceResult* ref = (AMapDistanceResult*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapDistanceResult::set_duration": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistanceResult::set_duration"); } // args // jsonable arg NSInteger duration = [args[@"duration"] longValue]; // ref AMapDistanceResult* ref = (AMapDistanceResult*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.duration = duration; methodResult(@"success"); }, @"AMapDistanceResult::set_info": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistanceResult::set_info"); } // args // jsonable arg NSString* info = (NSString*) args[@"info"]; // ref AMapDistanceResult* ref = (AMapDistanceResult*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.info = info; methodResult(@"success"); }, @"AMapDistanceResult::set_code": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapDistanceResult::set_code"); } // args // jsonable arg NSInteger code = [args[@"code"] longValue]; // ref AMapDistanceResult* ref = (AMapDistanceResult*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.code = code; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_adcode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_adcode"); } // args // jsonable arg NSString* adcode = (NSString*) args[@"adcode"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.adcode = adcode; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_province": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_province"); } // args // jsonable arg NSString* province = (NSString*) args[@"province"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.province = province; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_city": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_city"); } // args // jsonable arg NSString* city = (NSString*) args[@"city"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.city = city; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_weather": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_weather"); } // args // jsonable arg NSString* weather = (NSString*) args[@"weather"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.weather = weather; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_temperature": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_temperature"); } // args // jsonable arg NSString* temperature = (NSString*) args[@"temperature"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.temperature = temperature; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_windDirection": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_windDirection"); } // args // jsonable arg NSString* windDirection = (NSString*) args[@"windDirection"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.windDirection = windDirection; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_windPower": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_windPower"); } // args // jsonable arg NSString* windPower = (NSString*) args[@"windPower"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.windPower = windPower; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_humidity": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_humidity"); } // args // jsonable arg NSString* humidity = (NSString*) args[@"humidity"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.humidity = humidity; methodResult(@"success"); }, @"AMapLocalWeatherLive::set_reportTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherLive::set_reportTime"); } // args // jsonable arg NSString* reportTime = (NSString*) args[@"reportTime"]; // ref AMapLocalWeatherLive* ref = (AMapLocalWeatherLive*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.reportTime = reportTime; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_date": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_date"); } // args // jsonable arg NSString* date = (NSString*) args[@"date"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.date = date; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_week": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_week"); } // args // jsonable arg NSString* week = (NSString*) args[@"week"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.week = week; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_dayWeather": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_dayWeather"); } // args // jsonable arg NSString* dayWeather = (NSString*) args[@"dayWeather"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.dayWeather = dayWeather; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_nightWeather": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_nightWeather"); } // args // jsonable arg NSString* nightWeather = (NSString*) args[@"nightWeather"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.nightWeather = nightWeather; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_dayTemp": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_dayTemp"); } // args // jsonable arg NSString* dayTemp = (NSString*) args[@"dayTemp"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.dayTemp = dayTemp; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_nightTemp": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_nightTemp"); } // args // jsonable arg NSString* nightTemp = (NSString*) args[@"nightTemp"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.nightTemp = nightTemp; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_dayWind": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_dayWind"); } // args // jsonable arg NSString* dayWind = (NSString*) args[@"dayWind"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.dayWind = dayWind; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_nightWind": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_nightWind"); } // args // jsonable arg NSString* nightWind = (NSString*) args[@"nightWind"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.nightWind = nightWind; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_dayPower": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_dayPower"); } // args // jsonable arg NSString* dayPower = (NSString*) args[@"dayPower"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.dayPower = dayPower; methodResult(@"success"); }, @"AMapLocalDayWeatherForecast::set_nightPower": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalDayWeatherForecast::set_nightPower"); } // args // jsonable arg NSString* nightPower = (NSString*) args[@"nightPower"]; // ref AMapLocalDayWeatherForecast* ref = (AMapLocalDayWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.nightPower = nightPower; methodResult(@"success"); }, @"AMapLocalWeatherForecast::set_adcode": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherForecast::set_adcode"); } // args // jsonable arg NSString* adcode = (NSString*) args[@"adcode"]; // ref AMapLocalWeatherForecast* ref = (AMapLocalWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.adcode = adcode; methodResult(@"success"); }, @"AMapLocalWeatherForecast::set_province": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherForecast::set_province"); } // args // jsonable arg NSString* province = (NSString*) args[@"province"]; // ref AMapLocalWeatherForecast* ref = (AMapLocalWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.province = province; methodResult(@"success"); }, @"AMapLocalWeatherForecast::set_city": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherForecast::set_city"); } // args // jsonable arg NSString* city = (NSString*) args[@"city"]; // ref AMapLocalWeatherForecast* ref = (AMapLocalWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.city = city; methodResult(@"success"); }, @"AMapLocalWeatherForecast::set_reportTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherForecast::set_reportTime"); } // args // jsonable arg NSString* reportTime = (NSString*) args[@"reportTime"]; // ref AMapLocalWeatherForecast* ref = (AMapLocalWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.reportTime = reportTime; methodResult(@"success"); }, @"AMapLocalWeatherForecast::set_casts": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapLocalWeatherForecast::set_casts"); } // args // list arg NSArray* casts = (NSArray*) args[@"casts"]; // ref AMapLocalWeatherForecast* ref = (AMapLocalWeatherForecast*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.casts = casts; methodResult(@"success"); }, @"AMapNearbyUserInfo::set_userID": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbyUserInfo::set_userID"); } // args // jsonable arg NSString* userID = (NSString*) args[@"userID"]; // ref AMapNearbyUserInfo* ref = (AMapNearbyUserInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.userID = userID; methodResult(@"success"); }, @"AMapNearbyUserInfo::set_location": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbyUserInfo::set_location"); } // args // ref arg AMapGeoPoint* location = (AMapGeoPoint*) (args[@"location"] == [NSNull null] ? nil : args[@"location"]); // ref AMapNearbyUserInfo* ref = (AMapNearbyUserInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.location = location; methodResult(@"success"); }, @"AMapNearbyUserInfo::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbyUserInfo::set_distance"); } // args // jsonable arg CGFloat distance = [args[@"distance"] floatValue]; // ref AMapNearbyUserInfo* ref = (AMapNearbyUserInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapNearbyUserInfo::set_updatetime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbyUserInfo::set_updatetime"); } // args // jsonable arg NSTimeInterval updatetime = [args[@"updatetime"] doubleValue]; // ref AMapNearbyUserInfo* ref = (AMapNearbyUserInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.updatetime = updatetime; methodResult(@"success"); }, @"AMapTrafficEvaluation::set_evaluationDescription": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficEvaluation::set_evaluationDescription"); } // args // jsonable arg NSString* evaluationDescription = (NSString*) args[@"evaluationDescription"]; // ref AMapTrafficEvaluation* ref = (AMapTrafficEvaluation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.evaluationDescription = evaluationDescription; methodResult(@"success"); }, @"AMapTrafficEvaluation::set_status": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficEvaluation::set_status"); } // args // jsonable arg NSInteger status = [args[@"status"] longValue]; // ref AMapTrafficEvaluation* ref = (AMapTrafficEvaluation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.status = status; methodResult(@"success"); }, @"AMapTrafficEvaluation::set_expedite": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficEvaluation::set_expedite"); } // args // jsonable arg NSString* expedite = (NSString*) args[@"expedite"]; // ref AMapTrafficEvaluation* ref = (AMapTrafficEvaluation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.expedite = expedite; methodResult(@"success"); }, @"AMapTrafficEvaluation::set_congested": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficEvaluation::set_congested"); } // args // jsonable arg NSString* congested = (NSString*) args[@"congested"]; // ref AMapTrafficEvaluation* ref = (AMapTrafficEvaluation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.congested = congested; methodResult(@"success"); }, @"AMapTrafficEvaluation::set_blocked": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficEvaluation::set_blocked"); } // args // jsonable arg NSString* blocked = (NSString*) args[@"blocked"]; // ref AMapTrafficEvaluation* ref = (AMapTrafficEvaluation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.blocked = blocked; methodResult(@"success"); }, @"AMapTrafficEvaluation::set_unknown": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficEvaluation::set_unknown"); } // args // jsonable arg NSString* unknown = (NSString*) args[@"unknown"]; // ref AMapTrafficEvaluation* ref = (AMapTrafficEvaluation*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.unknown = unknown; methodResult(@"success"); }, @"AMapTrafficRoad::set_name": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficRoad::set_name"); } // args // jsonable arg NSString* name = (NSString*) args[@"name"]; // ref AMapTrafficRoad* ref = (AMapTrafficRoad*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.name = name; methodResult(@"success"); }, @"AMapTrafficRoad::set_status": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficRoad::set_status"); } // args // jsonable arg NSInteger status = [args[@"status"] longValue]; // ref AMapTrafficRoad* ref = (AMapTrafficRoad*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.status = status; methodResult(@"success"); }, @"AMapTrafficRoad::set_direction": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficRoad::set_direction"); } // args // jsonable arg NSString* direction = (NSString*) args[@"direction"]; // ref AMapTrafficRoad* ref = (AMapTrafficRoad*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.direction = direction; methodResult(@"success"); }, @"AMapTrafficRoad::set_angle": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficRoad::set_angle"); } // args // jsonable arg float angle = [args[@"angle"] floatValue]; // ref AMapTrafficRoad* ref = (AMapTrafficRoad*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.angle = angle; methodResult(@"success"); }, @"AMapTrafficRoad::set_speed": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficRoad::set_speed"); } // args // jsonable arg float speed = [args[@"speed"] floatValue]; // ref AMapTrafficRoad* ref = (AMapTrafficRoad*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.speed = speed; methodResult(@"success"); }, @"AMapTrafficRoad::set_polyline": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficRoad::set_polyline"); } // args // jsonable arg NSString* polyline = (NSString*) args[@"polyline"]; // ref AMapTrafficRoad* ref = (AMapTrafficRoad*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.polyline = polyline; methodResult(@"success"); }, @"AMapTrafficInfo::set_statusDescription": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficInfo::set_statusDescription"); } // args // jsonable arg NSString* statusDescription = (NSString*) args[@"statusDescription"]; // ref AMapTrafficInfo* ref = (AMapTrafficInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.statusDescription = statusDescription; methodResult(@"success"); }, @"AMapTrafficInfo::set_evaluation": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficInfo::set_evaluation"); } // args // ref arg AMapTrafficEvaluation* evaluation = (AMapTrafficEvaluation*) (args[@"evaluation"] == [NSNull null] ? nil : args[@"evaluation"]); // ref AMapTrafficInfo* ref = (AMapTrafficInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.evaluation = evaluation; methodResult(@"success"); }, @"AMapTrafficInfo::set_roads": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapTrafficInfo::set_roads"); } // args // list arg NSArray* roads = (NSArray*) args[@"roads"]; // ref AMapTrafficInfo* ref = (AMapTrafficInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.roads = roads; methodResult(@"success"); }, @"AMapCloudImage::set_uid": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudImage::set_uid"); } // args // jsonable arg NSString* uid = (NSString*) args[@"uid"]; // ref AMapCloudImage* ref = (AMapCloudImage*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.uid = uid; methodResult(@"success"); }, @"AMapCloudImage::set_preurl": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudImage::set_preurl"); } // args // jsonable arg NSString* preurl = (NSString*) args[@"preurl"]; // ref AMapCloudImage* ref = (AMapCloudImage*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.preurl = preurl; methodResult(@"success"); }, @"AMapCloudImage::set_url": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudImage::set_url"); } // args // jsonable arg NSString* url = (NSString*) args[@"url"]; // ref AMapCloudImage* ref = (AMapCloudImage*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.url = url; methodResult(@"success"); }, @"AMapCloudPOI::set_uid": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_uid"); } // args // jsonable arg NSInteger uid = [args[@"uid"] longValue]; // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.uid = uid; methodResult(@"success"); }, @"AMapCloudPOI::set_name": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_name"); } // args // jsonable arg NSString* name = (NSString*) args[@"name"]; // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.name = name; methodResult(@"success"); }, @"AMapCloudPOI::set_location": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_location"); } // args // ref arg AMapGeoPoint* location = (AMapGeoPoint*) (args[@"location"] == [NSNull null] ? nil : args[@"location"]); // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.location = location; methodResult(@"success"); }, @"AMapCloudPOI::set_address": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_address"); } // args // jsonable arg NSString* address = (NSString*) args[@"address"]; // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.address = address; methodResult(@"success"); }, @"AMapCloudPOI::set_customFields": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_customFields"); } // args // jsonable arg NSDictionary* customFields = (NSDictionary*) args[@"customFields"]; // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.customFields = customFields; methodResult(@"success"); }, @"AMapCloudPOI::set_createTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_createTime"); } // args // jsonable arg NSString* createTime = (NSString*) args[@"createTime"]; // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.createTime = createTime; methodResult(@"success"); }, @"AMapCloudPOI::set_updateTime": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_updateTime"); } // args // jsonable arg NSString* updateTime = (NSString*) args[@"updateTime"]; // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.updateTime = updateTime; methodResult(@"success"); }, @"AMapCloudPOI::set_distance": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_distance"); } // args // jsonable arg NSInteger distance = [args[@"distance"] longValue]; // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.distance = distance; methodResult(@"success"); }, @"AMapCloudPOI::set_images": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapCloudPOI::set_images"); } // args // list arg NSArray* images = (NSArray*) args[@"images"]; // ref AMapCloudPOI* ref = (AMapCloudPOI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.images = images; methodResult(@"success"); }, @"AMapNearbyUploadInfo::set_userID": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbyUploadInfo::set_userID"); } // args // jsonable arg NSString* userID = (NSString*) args[@"userID"]; // ref AMapNearbyUploadInfo* ref = (AMapNearbyUploadInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.userID = userID; methodResult(@"success"); }, @"AMapNearbyUploadInfo::set_coordinateType": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbyUploadInfo::set_coordinateType"); } // args // enum arg AMapSearchCoordinateType coordinateType = (AMapSearchCoordinateType) [args[@"coordinateType"] integerValue]; // ref AMapNearbyUploadInfo* ref = (AMapNearbyUploadInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.coordinateType = coordinateType; methodResult(@"success"); }, @"AMapNearbyUploadInfo::set_coordinate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbyUploadInfo::set_coordinate"); } // args // struct arg NSValue* coordinateValue = (NSValue*) args[@"coordinate"]; CLLocationCoordinate2D coordinate; if (coordinateValue != nil && (NSNull*) coordinateValue != [NSNull null]) { [coordinateValue getValue:&coordinate]; } else { methodResult([FlutterError errorWithCode:@"参数非法" message:@"参数非法" details:@"coordinate不能为null"]); return; } // ref AMapNearbyUploadInfo* ref = (AMapNearbyUploadInfo*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.coordinate = coordinate; methodResult(@"success"); }, @"AMapNearbySearchManager::set_uploadTimeInterval": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbySearchManager::set_uploadTimeInterval"); } // args // jsonable arg NSTimeInterval uploadTimeInterval = [args[@"uploadTimeInterval"] doubleValue]; // ref AMapNearbySearchManager* ref = (AMapNearbySearchManager*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.uploadTimeInterval = uploadTimeInterval; methodResult(@"success"); }, @"AMapNearbySearchManager::set_delegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapNearbySearchManager::set_delegate"); } // args // ref arg id delegate = (id) (args[@"delegate"] == [NSNull null] ? nil : args[@"delegate"]); // ref AMapNearbySearchManager* ref = (AMapNearbySearchManager*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.delegate = delegate; methodResult(@"success"); }, @"AMapSearchAPI::set_delegate": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSearchAPI::set_delegate"); } // args // ref arg id delegate = (id) (args[@"delegate"] == [NSNull null] ? nil : args[@"delegate"]); // ref AMapSearchAPI* ref = (AMapSearchAPI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.delegate = delegate; methodResult(@"success"); }, @"AMapSearchAPI::set_timeout": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSearchAPI::set_timeout"); } // args // jsonable arg NSInteger timeout = [args[@"timeout"] longValue]; // ref AMapSearchAPI* ref = (AMapSearchAPI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.timeout = timeout; methodResult(@"success"); }, @"AMapSearchAPI::set_language": ^(NSObject * registrar, id args, FlutterResult methodResult) { // print log if (enableLog) { NSLog(@"AMapSearchAPI::set_language"); } // args // jsonable arg NSString* language = (NSString*) args[@"language"]; // ref AMapSearchAPI* ref = (AMapSearchAPI*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.language = language; methodResult(@"success"); }, @"AMapPOISearchBaseRequest::set_types_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* types = (NSString*) args[@"types"]; // ref AMapPOISearchBaseRequest* ref = (AMapPOISearchBaseRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.types = types;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchBaseRequest::set_sortrule_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger sortrule = [args[@"sortrule"] longValue]; // ref AMapPOISearchBaseRequest* ref = (AMapPOISearchBaseRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.sortrule = sortrule;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchBaseRequest::set_offset_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger offset = [args[@"offset"] longValue]; // ref AMapPOISearchBaseRequest* ref = (AMapPOISearchBaseRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.offset = offset;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchBaseRequest::set_page_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger page = [args[@"page"] longValue]; // ref AMapPOISearchBaseRequest* ref = (AMapPOISearchBaseRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.page = page;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchBaseRequest::set_building_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* building = (NSString*) args[@"building"]; // ref AMapPOISearchBaseRequest* ref = (AMapPOISearchBaseRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.building = building;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchBaseRequest::set_requireExtension_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL requireExtension = [args[@"requireExtension"] boolValue]; // ref AMapPOISearchBaseRequest* ref = (AMapPOISearchBaseRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.requireExtension = requireExtension;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchBaseRequest::set_requireSubPOIs_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL requireSubPOIs = [args[@"requireSubPOIs"] boolValue]; // ref AMapPOISearchBaseRequest* ref = (AMapPOISearchBaseRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.requireSubPOIs = requireSubPOIs;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIIDSearchRequest::set_uid_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* uid = (NSString*) args[@"uid"]; // ref AMapPOIIDSearchRequest* ref = (AMapPOIIDSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.uid = uid;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIKeywordsSearchRequest::set_keywords_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* keywords = (NSString*) args[@"keywords"]; // ref AMapPOIKeywordsSearchRequest* ref = (AMapPOIKeywordsSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.keywords = keywords;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIKeywordsSearchRequest::set_city_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* city = (NSString*) args[@"city"]; // ref AMapPOIKeywordsSearchRequest* ref = (AMapPOIKeywordsSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.city = city;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIKeywordsSearchRequest::set_cityLimit_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL cityLimit = [args[@"cityLimit"] boolValue]; // ref AMapPOIKeywordsSearchRequest* ref = (AMapPOIKeywordsSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.cityLimit = cityLimit;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIKeywordsSearchRequest::set_location_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg AMapGeoPoint* location = (AMapGeoPoint*) (args[@"location"] == [NSNull null] ? nil : args[@"location"]); // ref AMapPOIKeywordsSearchRequest* ref = (AMapPOIKeywordsSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.location = location;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIAroundSearchRequest::set_keywords_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* keywords = (NSString*) args[@"keywords"]; // ref AMapPOIAroundSearchRequest* ref = (AMapPOIAroundSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.keywords = keywords;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIAroundSearchRequest::set_location_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg AMapGeoPoint* location = (AMapGeoPoint*) (args[@"location"] == [NSNull null] ? nil : args[@"location"]); // ref AMapPOIAroundSearchRequest* ref = (AMapPOIAroundSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.location = location;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIAroundSearchRequest::set_radius_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger radius = [args[@"radius"] longValue]; // ref AMapPOIAroundSearchRequest* ref = (AMapPOIAroundSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.radius = radius;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIAroundSearchRequest::set_city_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* city = (NSString*) args[@"city"]; // ref AMapPOIAroundSearchRequest* ref = (AMapPOIAroundSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.city = city;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIAroundSearchRequest::set_special_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg BOOL special = [args[@"special"] boolValue]; // ref AMapPOIAroundSearchRequest* ref = (AMapPOIAroundSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.special = special;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIPolygonSearchRequest::set_keywords_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* keywords = (NSString*) args[@"keywords"]; // ref AMapPOIPolygonSearchRequest* ref = (AMapPOIPolygonSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.keywords = keywords;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOIPolygonSearchRequest::set_polygon_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg AMapGeoPolygon* polygon = (AMapGeoPolygon*) (args[@"polygon"] == [NSNull null] ? nil : args[@"polygon"]); // ref AMapPOIPolygonSearchRequest* ref = (AMapPOIPolygonSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.polygon = polygon;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchResponse::set_count_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger count = [args[@"count"] longValue]; // ref AMapPOISearchResponse* ref = (AMapPOISearchResponse*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.count = count;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchResponse::set_suggestion_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg AMapSuggestion* suggestion = (AMapSuggestion*) (args[@"suggestion"] == [NSNull null] ? nil : args[@"suggestion"]); // ref AMapPOISearchResponse* ref = (AMapPOISearchResponse*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.suggestion = suggestion;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapPOISearchResponse::set_pois_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // list arg NSArray* pois = (NSArray*) args[@"pois"]; // ref AMapPOISearchResponse* ref = (AMapPOISearchResponse*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.pois = pois;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchRequest::set_origin_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg AMapGeoPoint* origin = (AMapGeoPoint*) (args[@"origin"] == [NSNull null] ? nil : args[@"origin"]); // ref AMapRoutePOISearchRequest* ref = (AMapRoutePOISearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.origin = origin;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchRequest::set_destination_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // ref arg AMapGeoPoint* destination = (AMapGeoPoint*) (args[@"destination"] == [NSNull null] ? nil : args[@"destination"]); // ref AMapRoutePOISearchRequest* ref = (AMapRoutePOISearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.destination = destination;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchRequest::set_searchType_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // enum arg AMapRoutePOISearchType searchType = (AMapRoutePOISearchType) [args[@"searchType"] integerValue]; // ref AMapRoutePOISearchRequest* ref = (AMapRoutePOISearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.searchType = searchType;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchRequest::set_strategy_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger strategy = [args[@"strategy"] longValue]; // ref AMapRoutePOISearchRequest* ref = (AMapRoutePOISearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.strategy = strategy;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchRequest::set_range_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger range = [args[@"range"] longValue]; // ref AMapRoutePOISearchRequest* ref = (AMapRoutePOISearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.range = range;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchRequest::set_polylineStr_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* polylineStr = (NSString*) args[@"polylineStr"]; // ref AMapRoutePOISearchRequest* ref = (AMapRoutePOISearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.polylineStr = polylineStr;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchRequest::set_polyline_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // list arg NSArray* polyline = (NSArray*) args[@"polyline"]; // ref AMapRoutePOISearchRequest* ref = (AMapRoutePOISearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.polyline = polyline;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchResponse::set_count_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSInteger count = [args[@"count"] longValue]; // ref AMapRoutePOISearchResponse* ref = (AMapRoutePOISearchResponse*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.count = count;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapRoutePOISearchResponse::set_pois_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // list arg NSArray* pois = (NSArray*) args[@"pois"]; // ref AMapRoutePOISearchResponse* ref = (AMapRoutePOISearchResponse*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.pois = pois;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapInputTipsSearchRequest::set_keywords_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* keywords = (NSString*) args[@"keywords"]; // ref AMapInputTipsSearchRequest* ref = (AMapInputTipsSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.keywords = keywords;; methodResult(@"success"); } methodResult(@"success"); }, @"AMapInputTipsSearchRequest::set_city_batch": ^(NSObject * registrar, id argsBatch, FlutterResult methodResult) { for (NSUInteger __i__ = 0; __i__ < ((NSArray*>*) argsBatch).count; __i__++) { NSDictionary* args = [((NSArray*>*) argsBatch) objectAtIndex:__i__]; // args // jsonable arg NSString* city = (NSString*) args[@"city"]; // ref AMapInputTipsSearchRequest* ref = (AMapInputTipsSearchRequest*) args[@"__this__"]; if ((NSNull *) ref == [NSNull null] || ref == nil) { methodResult([FlutterError errorWithCode:@"目标对象为nil" message:@"目标对象为nil" details:@"目标对象为nil"]); return; } ref.city = city;; methodResult(@"success"); } methodResult(@"success"); }, }; } @end