AFConfigurationItem class abstract

Superclass for all configuration definitions.

Implementers

Constructors

AFConfigurationItem({required AFLibraryID libraryId, required String name, required dynamic defaultValue, required int validContexts, required String help, required double ordinal})

Properties

argumentHelp String
no setter
argumentString String
no setter
codeIdentifier String
no setter
defaultValue → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
help String
final
libraryId AFLibraryID
final
name String
final
ordinal double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validContexts int
final

Methods

addArguments(ArgParser argParser) → void
allowedIn(int validContext) bool
codeValue(AFConfig config) String?
comment() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(AFConfig dest, dynamic value) → void
setValueWithString(AFConfig dest, String value) → void
toString() String
A string representation of this object.
inherited
validate(dynamic value) String?
Return an error message if the value is invalid, otherwise return null.
validateWithException(String value) → void

Operators

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

Static Methods

sortByOrdinal(List<AFConfigurationItem> items) → void