Enum class

Enum type definition.

Constructors

Enum({String? edition, List<EnumValue>? enumvalue, String? name, List<Option>? options, SourceContext? sourceContext, String? syntax})
Enum.fromJson(Map json_)

Properties

edition String?
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
getter/setter pair
enumvalue List<EnumValue>?
Enum value definitions.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Enum type name.
getter/setter pair
options List<Option>?
Protocol buffer options.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceContext SourceContext?
The source context.
getter/setter pair
syntax String?
The source syntax. Possible string values are:
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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