getRegexKeys function

Future<List<String>> getRegexKeys()

This method retrieves a list of regex keys from the remote database It retrieves all keys that match the regex pattern 'createevent-' The method returns the list of regex keys If no matching keys are found, an empty list is returned

Implementation

Future<List<String>> getRegexKeys() async {
  var regexList = await EventService().atClientManager.atClient.getKeys(
        regex: 'createevent-',
      );

  return regexList;
}