MapConstant<T extends Constant> class
final
Represents a constant map from string keys to Constant values.
Constructors
-
MapConstant.new(Map<
String, T> value) -
Creates a MapConstant object with the given map of
value
s.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
Map< Constant, int> constants) → Map<String, Object?> -
Converts this Constant object to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toValue(
) → Object? -
Converts this Constant to the value it represents.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override