AFConfigurationItemTrueFalse class

A configuration item that is a boolean value.

Inheritance

Constructors

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

Properties

allowMultiple bool
finalinherited
argumentHelp String
no setterinherited
argumentHelpShort String
no setterinherited
argumentString String
no setterinherited
choices List<AFConfigEntryDescription>
finalinherited
codeIdentifier String
no setterinherited
defaultValue → dynamic
finalinherited
hashCode int
The hash code for this object.
no setterinherited
help String
finalinherited
libraryId AFLibraryID
finalinherited
name String
finalinherited
ordinal double
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validContexts int
finalinherited

Methods

addArguments(ArgParser argParser) → void
inherited
addChoice({required String textValue, required String help, dynamic runtimeValue}) → void
inherited
addChoiceSection(String title) → void
inherited
addWildcard(String help) → void
inherited
allowedIn(int validContext) bool
inherited
codeValue(AFConfig config) String?
inherited
comment() String
inherited
findChoice(String val) AFConfigEntryDescription?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(AFConfig dest, dynamic value) → void
override
setValueWithString(AFConfig dest, String value) → void
inherited
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.
inherited
validateWithException(String value) → void
inherited

Operators

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