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.
|
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);
|
|
}
|