searchRuleNames method
To search all of available rule names within the current map.
This rule names can be used when calling itinerary methods, such addItinerary
Implementation
Future<List<String>> searchRuleNames() async {
final result = await _methodChannel.invokeMethod('searchRuleNames');
if (result == null) {
return [];
}
final List<dynamic> ruleNamesList = result as List<dynamic>;
return ruleNamesList.map((name) => name.toString()).toList();
}