toInt static method

int toInt(
  1. GroupAddOptEnum level
)

将枚举转换为整型

Implementation

static int toInt(GroupAddOptEnum level) => level.index;