CommandLineConfigurationSource class

Represents command line arguments as an ConfigurationSource.

Implemented types

Constructors

CommandLineConfigurationSource({Iterable<String>? args, LinkedHashMap<String, String>? switchMappings})
Initializes the CommandLineConfigurationSource.

Properties

args Iterable<String>?
Gets or sets the command line args.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
switchMappings LinkedHashMap<String, String>?
Gets or sets the switch mappings.
getter/setter pair

Methods

build(ConfigurationBuilder builder) ConfigurationProvider
Builds the ConfigurationProvider for this source.
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