setPowerTrainLosses method
Implementation
Future<void> setPowerTrainLosses(com_amap_api_services_route_RouteSearchV2_PowerTrainLoss var1) async {
// print log
if (fluttifyLogEnabled) {
debugPrint('fluttify-dart: com.amap.api.services.route.RouteSearchV2.CustomCostMode@$refId::setPowerTrainLosses([])');
}
// invoke native method
final __result__ = await kAmapSearchFluttifyChannel.invokeMethod('com.amap.api.services.route.RouteSearchV2.CustomCostMode::setPowerTrainLosses', {"var1": var1, "__this__": this});
// handle native call
return __result__;
}