MapCopyWith<$R, $K, $V, $C> class
abstract
Interface used for Maps in chained copyWith methods All methods return a new modified map and do not modify the original map
Constructors
-
MapCopyWith(Map<
$K, $V> value, ItemCopyWith<$C, $V, $R> item, Then<Map< then)$K, $V> , $R> -
factory
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
-
apply(
Map< $K, $V> transform(Map<$K, $V> )) → $R - Applies any transformer function on the value
-
get(
$K key) → $C? -
Access the copyWith interface for the value of
key
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
$K key, $V v) → $R -
Returns a new map with
value
inserted atkey
-
putAll(
Map< $K, $V> v) → $R - Returns a new map with all entries inserted to the map
-
removeAt(
$K key) → $R -
Returns a new map without the value at
key
-
replace(
$K key, $V v) → $R -
Returns a new map with the value at
key
replaced with a new value -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited