getLeftEnergy method
Implementation
Future<List<int>?> getLeftEnergy() async {
// print log
if (fluttifyLogEnabled) {
debugPrint('fluttify-dart: com.amap.api.services.route.ElecConsumeInfo@$refId::getLeftEnergy([])');
}
// invoke native method
final __result__ = await kAmapSearchFluttifyChannel.invokeMethod('com.amap.api.services.route.ElecConsumeInfo::getLeftEnergy', {"__this__": this});
// handle native call
return (__result__ as List?)?.cast<int>();
}