toInt static method

int toInt(
  1. OperationResultEnum level
)

将枚举转换为整型

Implementation

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