getAllAdhkarId static method

List<String> getAllAdhkarId()

Implementation

static List<String> getAllAdhkarId() {
  try {
    List<String> response = [];
    for (var i = 0; i < adhkarData.length; i++) {
      response.add(adhkarData[i].id);
    }
    return response;
  } catch (error) {
    throw Exception(error.toString());
  }
}