getByString static method

GroupTypeEnum? getByString(
  1. String type
)

根据字符串类型值获得枚举 type 字符串常量 Return 枚举对象

Implementation

static GroupTypeEnum? getByString(String type) =>
    EnumUtil.nameOf(GroupTypeEnum.values, type);