SPEnumUtils class
Constructors
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
-
convertToString(
dynamic enumItem, {bool camelCase = false}) → String - 将枚举类型转成字符串
-
fromString<
T> (List< T> enumValues, String? str) → T? - 通过字符串获得枚举值