ComplexConstant enum
- Inheritance
- Available extensions
- Annotations
-
- @GenerateValueExtension.new(valueType: Complex, values: {'Complex(0, 0)', 'Complex(0, 1)'})
- @GenerateJsonExtension.new()
Values
- zero → const ComplexConstant
- i → const ComplexConstant
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- jsonEncoded → String
-
Available on ComplexConstant, provided by the ToComplexConstant extension
Convertsthisto a json encodedString.no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringValue → String
-
Available on ComplexConstant, provided by the ComplexConstantValue extension
Returns the String identifier of an instance ofComplexConstant.no setter - value → Complex
-
Available on ComplexConstant, provided by the ComplexConstantValue extension
Returns a map of typeMap<Complex, ComplexConstant>mapping each declared enum value to an instance ofComplexConstant.no setter -
valueMap
→ Map<
String, ComplexConstant> -
Available on ComplexConstant, provided by the ComplexConstantValue extension
Returns a mapping of instance name to enum instance.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Available on ComplexConstant, provided by the ToComplexConstant extension
Convertsthisto a mapMap<String, dynamic>. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ComplexConstant> - A constant List of the values in this enum, in order of their declaration.