enumValue property

String get enumValue

获取枚举字符串

Implementation

String get enumValue {
  if (isNullOrEmpty) return "";
  var array = this!.split(".");
  if (array.length == 2) return array[1];
  return "";
}