TypedMap class
An immutable, type-safe wrapper around a plain Map<String, dynamic>.
Provides helper accessors for common IPLD/IPFS value types while keeping the underlying map immutable from the public API.
Constructors
Properties
Methods
-
containsKey(
String key) → bool -
Returns true if the map contains
key. -
get<
T> (String key, T defaultValue) → T -
Returns the value for
keycast toT, ordefaultValueif missing or not of typeT. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Returns an unmodifiable view of the underlying map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
-
operator [](
String key) → dynamic -
Returns the raw value for
key.