AdifEnumeration constructor
Implementation
AdifEnumeration(value, this.enumerations) : super(value.toUpperCase()) {
if (!enumerations.contains(value.toUpperCase())) {
throw ArgumentError(
'Value must be one of the enumerations: $enumerations',
);
}
}