HybridEnum class

Constructors

HybridEnum({int startValue = 0, List<int>? nativeValues})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
nativeValues → List<int>?
Optional explicit native integer value for each enum case. When set, nativeValues[i] is the wire integer for the i-th enum case — allowing non-contiguous mappings (e.g. OS enums with gaps like 0, 50, 100). Length must match the number of enum cases. When null, values are contiguous starting at startValue.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startValue → int
final

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