EnumValueSpec class final

Specification for a single enum value.

Constructors

EnumValueSpec({required String name, String? jsonValue, String? description})
Creates a new EnumValueSpec.
const

Properties

description String?
Description of this enum value.
final
effectiveValue String
Returns the effective value to use in the schema.
no setter
hashCode int
The hash code for this object.
no setterinherited
jsonValue String?
The JSON/serialized value (may differ from name).
final
name String
The Dart enum value name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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