UniversalEnumClass class final

Universal template for enum

Inheritance
Annotations
  • @immutable

Constructors

UniversalEnumClass({required String name, required String type, required Set<UniversalEnumItem> items, String? originalName, String? defaultValue, String? description})
Constructor for UniversalEnumClass
const

Properties

defaultValue → String?
Holding enum default value
final
description → String?
Description of the class
finalinherited
hashCode → int
The hash code for this object.
no setteroverride
items → Set<UniversalEnumItem>
Enum items
final
name → String
Name of the class
finalinherited
originalName → String
Enum original name (without suffix number for duplicates)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
Enum type
final

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