EnumUtil class

枚举工具类

Constructors

EnumUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getEnumName(dynamic enumObj) String
获得枚举的名称(不包含前缀)
nameOf<T>(List<T> array, String name) → T?
根据名字获得枚举