ConfigEntry class

Represents a configuration entry with its value

Constructors

ConfigEntry(String key, ConfigurationEntryValueType valueType, dynamic value)
const
ConfigEntry.forBool(String key, bool value)
factory
ConfigEntry.forDateTime(String key, DateTime value)
factory
ConfigEntry.forDouble(String key, double value)
factory
ConfigEntry.forDuration(String key, Duration value)
factory
ConfigEntry.forInt(String key, int value)
factory
ConfigEntry.forList(String key, List value)
factory
ConfigEntry.forMap(String key, Map<String, dynamic> value)
factory
ConfigEntry.forString(String key, String value)
factory
ConfigEntry.forUint8List(String key, Uint8List value)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
final
valueType → ConfigurationEntryValueType
final

Methods

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