EnumHintValue class final

One choice in an EnumHint: what is written into the file, and what a person reads in the list.

Two strings rather than one, because the two audiences differ — Pbr is a shader entry point and PBR (GGX) is what a picker should say. A choice given no label is its own label, which is the common case for a value that was already a word.

Constructors

EnumHintValue(String value, [String? label])
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
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