UniversalEnumItem class
Universal template for enum item
- Annotations
-
- @immutable
Constructors
- UniversalEnumItem.new({required String name, required String jsonKey, String? description})
-
Constructor for UniversalEnumItem
const
Properties
- description → String?
-
Enum item description
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- jsonKey → String
-
Enum item json key
final
- name → String
-
Enum item name
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
listFromNames(
Iterable< String> names) → Set<UniversalEnumItem> - Convert list of strings to set of UniversalEnumItem Only for testing