Settings class

{Key: Value} Settings repository. Allows to query settings values based on keys

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

get(String key, {dynamic defaultValue}) → dynamic
getBool(String key, {bool defaultValue}) bool
getDouble(String key, {double defaultValue}) double
getInt(String key, {int defaultValue, int radix}) int
getString(String key, {String defaultValue}) String
Returns a setting value based on the provided key [...]
parse(List<String> args, {Map<String, String> settingsMap = const {}}) Future<void>
Parses settings provided from various sources [...]