Enum class
Enum type definition.
New usages of this message as an alternative to EnumDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
Constructors
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