getSupportedMessageTypes function

List<String> getSupportedMessageTypes()

gets a list of supported messages types which the handlers are able to handle

Implementation

List<String> getSupportedMessageTypes() {
  List<String> types = [];
  for (var handler in ALL_HANDLERS) {
    types.addAll(handler.supportedTypes);
  }

  return types;
}