Configuration class Null safety

Subclasses of Configuration read YAML strings and files, assigning values from the YAML document to properties of an instance of this type.

Implementers

Constructors

Configuration()
Default constructor.
Configuration.fromFile(File file)
Opens a file and reads its string contents into this instance's properties. [...]
Configuration.fromMap(Map map)
Configuration.fromString(String contents)
contents must be YAML.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decode(dynamic value) → void
Ingests value into the properties of this type. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
validate() → void
Validates this configuration. [...]

Operators

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

Static Methods

getEnvironmentOrValue(dynamic value) → dynamic