MapSerializer<K, V> class
A Serializer for maps with keys of type K and values of type V.
- Inheritance
-
- Object
- Serializer<
Map< K, V?> , Map<String, dynamic> > - MapSerializer
Constructors
- MapSerializer()
-
Creates a MapSerializer.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deserialize(
Map< String, dynamic> value) → Map<K, V?> -
Function that converts from type
Oto typeIoverride -
deserializeUntyped(
Object? value) → Object? -
Deserialize a value without requiring the caller to know
O.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
Map< K, V?> value) → Map<String, dynamic> -
Function that converts from type
Ito typeOoverride -
serializeUntyped(
Object? value) → Object? -
Serialize a value without requiring the caller to know
I.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited