ConfigReader class

Reads configuration settings from a JSON file.

Constructors

ConfigReader.new([String configFilePath = 'analyze_unused_packages.json'])
Creates a ConfigReader instance with the given configFilePath.

Properties

configFilePath String
Path to the configuration file.
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

loadConfig() Future<Map<String, dynamic>>
Loads and returns configuration settings as a Map<String, dynamic>.
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