getMaps static method

Future<List<String>> getMaps()

Implementation

static Future<List<String>> getMaps() async {
  var result = <String>[];
  var tempResult = AhaiConvertor.AhaiDropdownMapModelFromMap(LocalData.maps);
  if (tempResult.isNotEmpty) {
    for (var element in tempResult) {
      result.add(element.name);
    }
  }
  return result;
}