You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aku_new_community/lib/ui/market/market_enums.dart

13 lines
272 B

enum GoodTag {
jdSelfSupport(1, '京东自营'),
jdPop(2, '京东POP');
final typeNum;
final typeStr;
static GoodTag getValue(int value) =>
GoodTag.values.firstWhere((element) => element.typeNum == value);
const GoodTag(this.typeNum, this.typeStr);
}