getByInt static method

RouteEnum getByInt(
  1. int index
)

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

Implementation

static RouteEnum getByInt(int index) => RouteEnum.values[index];