isSupportedByLegacy static method

bool isSupportedByLegacy(
  1. int messageType
)

Implementation

static bool isSupportedByLegacy(int messageType) {
  return [1, 2, 3, 4, 5, 18, 19, 24, 27].contains(messageType);
}