toInt static method

将枚举转换为整型

Implementation

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