GenerateValueExtension class

Annotation requesting the generation of the extension <EnumName>Value.

Constructors

GenerateValueExtension({required Type valueType, required Set<String> values})
Annotation requesting the generation of the extension <EnumName>Value.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Set<String>
The enum values of type T encoded as a String.
final
valueType Type
The type of the mapped enum values. Use the function getType<T>() to pass a parameterized 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.
inherited

Operators

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