ConfigLoader class

A utility class to load and decode configuration files. This class auto-detects whether the file is JSON or YAML based on its extension.

Constructors

ConfigLoader.new(String filePath)

Properties

filePath String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load() Future
Loads and decodes the configuration file.
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