getByType static method

int getByType(
  1. InAppMessageType type
)

Implementation

static int getByType(InAppMessageType type) {
  return InAppMessageType.values.firstWhere((x) => x == type).value;
}