DynamicConfig class

Constructors

DynamicConfig.new(String name, EvaluationDetails details, [Map<String, dynamic> value = const {}])

Properties

details EvaluationDetails
Metadata about how this value was recieved.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
The name of this DynamicConfig
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Map<String, dynamic>
The loaded values of this DynamicConfig for the current user.
getter/setter pair

Methods

get<T>(String key, [T? defaultValue]) → T?
Gets a value from the DynamicConfig
getArray(String key, [List? defaultValue]) List?
getObject(String key, [Map<String, dynamic>? defaultValue]) 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

Static Methods

empty(String name, EvaluationDetails details) → dynamic