EnumProperty class Scene graph

An enum property, carried as the value name string with the enum's values as options.

Inheritance

Constructors

EnumProperty({String? group, List<String> formerNames = const [], bool transient = false, List<PropertyConstraint<String>> extra = const []})
const

Properties

extra List<PropertyConstraint<String>>
Additional declared constraints beyond the named arguments.
final
formerNames List<String>
Prior names of this property, accepted when loading older documents.
finalinherited
group String?
The collapsible inspector section this property belongs to.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transient bool
Schema-visible but never persisted (runtime state, or code-provided).
finalinherited

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