Enum class

Enum type definition.

Constructors

Enum({Input<String>? edition, Input<List<EnumValue>>? enumvalue, Input<String>? name, Input<List<Option>>? options, Input<SourceContext>? sourceContext, Input<EnumSyntax>? syntax})
Creates a new Enum. edition The source edition string, only valid when syntax is SYNTAX_EDITIONS. enumvalue Enum value definitions. name Enum type name. options Protocol buffer options. sourceContext The source context. syntax The source syntax.
const
Enum.fromMap(Map<String, dynamic> map)
factory

Properties

edition → Input<String>?
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
final
enumvalue → Input<List<EnumValue>>?
Enum value definitions.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
Enum type name.
final
options → Input<List<Option>>?
Protocol buffer options.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceContext → Input<SourceContext>?
The source context.
final
syntax → Input<EnumSyntax>?
The source syntax.
final

Methods

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

Operators

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