EnumValueTrait class

Inheritance
Available extensions

Constructors

EnumValueTrait.new(Object value)
const
EnumValueTrait.fromJson(Object? json)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
idiomaticName String

Available on Trait<Object>, provided by the TraitHelpers extension

Gets the idiomatic name of a prelude trait by stripping off the smithy.api# prefix. This is used in various error messages.
no setter
isSynthetic bool
Checks if this trait is persisted with the shape, or if it is a synthetic, or transient trait, only meant to temporarily aid in some kind of in-memory model transformation.
no setterinherited
name String

Available on Trait<Object>, provided by the TraitHelpers extension

The absolute name (shape ID) of this trait.
no setter
props List<Object?>
The type's equatable properties.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapeId ShapeId
Returns the fully-qualified shape ID of the trait.
finalinherited
value Object
The value of the trait.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object?
Serializes this as a JSON object.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

id → const ShapeId