StringEnumShape class abstract
- Implemented types
- Available extensions
Constructors
- StringEnumShape([void updates(StringEnumShapeBuilder)])
-
factory
Properties
-
enumValues
→ Iterable<
MemberShape> -
Available on EnumShape, provided by the EnumShapeValues extension
no setter - hasDefaultValue → bool
-
Available on Shape, provided by the ShapeExt extension
Whether the same has a default value.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- isBoxed → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthisis boxed. This means the shape is optionally present and has no default value.no setter - isEnum → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthisis an enum.no setter - isError → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthishas the@errortrait.no setter - isHttpError → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthishas the@httpErrortrait.no setter - isIdempotencyToken → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthisis an idempotency token.no setter - isNotBoxed → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthisis not boxed. This means the shape is required to be present with a value.no setter - isNotRequired → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthisdoes not have the@requiredtrait.no setter - isRequired → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthishas the@requiredtrait.no setter - isSparse → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthishas the@sparsetrait.no setter - isStreaming → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthishas the@streamingtrait.no setter - isUnstable → bool
-
Available on Shape, provided by the ShapeExt extension
Whetherthishas the@unstabletrait.no setter - members → NamedMembersMap
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shapeId → ShapeId
-
no setterinherited
- timestampFormat → TimestampFormat?
-
Available on Shape, provided by the ShapeExt extension
The custom timestamp format specified by this shape, if any.no setter - traits → TraitMap
-
no setterinherited
Methods
-
accept<
R> (ShapeVisitor< R> visitor, [Shape? parent]) → R -
override
-
expectTrait<
T extends Trait< (Object> >) → T -
Available on Shape, provided by the ShapeExt extension
Gets the trait of typeTfrom the shape or throws if not found. -
getTrait<
T extends Trait< (Object> >) → T? -
Available on Shape, provided by the ShapeExt extension
Returns the trait of typeT, if it exists on the shape. -
getType(
) → ShapeType -
override
-
hasTrait<
T extends Trait< (Object> >) → bool -
Available on Shape, provided by the ShapeExt extension
Whether the shape has a trait of typeT. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(StringEnumShapeBuilder)) → StringEnumShape -
Rebuilds the instance.
inherited
-
toBuilder(
) → StringEnumShapeBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
StringEnumShape> -
no setter