getByInt static method

LoginStatusEnum getByInt(
  1. int index
)

根据Int类型值获得枚举 index Int常量 Return 枚举对象

Implementation

static LoginStatusEnum getByInt(int index) =>
    LoginStatusEnum.values[index - 1];