name property

String get name

获取【枚举】名称

Implementation

String get name {
  if (this == null) {
    return "";
  }
  var value = this.toString();
  var start = value.indexOf(".");
  if (start < 0) {
    return "";
  }
  return value.substring(start + 1);
}