Enum class

Enum type definition.

Constructors

Enum()
Enum.fromJson(Map _json)

Properties

enumvalue List<EnumValue>
Enum value definitions.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
Enum type name.
read / write
options List<Option>
Protocol buffer options.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sourceContext SourceContext
The source context.
read / write
syntax String
The source syntax. Possible string values are: [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited