SceneChoices class

The members a ScenePropKind.choice property can take and how the file spells them: NodeLayout.row, SceneFontWeight.w700.

Constructors

SceneChoices(String typeName, List<Object> values, {required String nameOf(Object value)})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
nameOf → String Function(Object value)
final
names → List<String>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeName → String
final
values → List<Object>
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
toWire(Object value) → String
Wire and authored JSON carry the member's name — one spelling, the file's own, rather than an index that means nothing off the wire.
valueOf(String name) → Object?

Operators

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