JsonOptionalIntMap class final
A JsonKey that parses an optional map of doubles.
Constructors
- JsonOptionalIntMap.parser(String key)
-
JsonOptionalIntMap.populated(String key, Map<
String, int> ? val)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The key used to parse the value from json.
finalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serialized
→ Map<
String, int> ? -
The serialized value of this JsonKey.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited -
value
→ Map<
String, int> ? -
The value of this JsonKey.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
Map< String, int> ? serialized) → Map<String, int> ? -
Parse a value from json, and populate this JsonKey with the parsed
value.
inherited
-
populate(
Map< String, int> ? value) → void -
Populate this JsonKey with a value.
inherited
-
serialize(
Map< String, int> ? val) → Map<String, int> ? -
Serialize a value to json.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited