AdifEnumeration class abstract

Enumeration type. The derived class shall provide the list of valid enumerations, and when initializing an instance, the value must be one among them. The enumeration is case-insensitive, so they shall be provided in upper case. This class shall be extended for the needs of ADIF/application/user defined fields.

Inheritance
Implementers

Constructors

AdifEnumeration(dynamic value, List<String> enumerations)

Properties

enumerations List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
original → dynamic
The original data of the adif data.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ dynamic
getter/setter pairinherited

Methods

getString() String
override
getType() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromString(String str) AdifEnumeration
override