Interface for types that perform cloning operations (i.e., cloners).
Implement ICloning for classes that act as cloning agents, providing
methods to clone or copy other objects.
This is distinct from ICloneable,
which is implemented by objects that can be cloned themselves.
- Implementers
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
-
cloneList<
E> (List< E> source) → List<E> - Clones a list, producing a new list with cloned elements.
-
cloneMap<
K, V> (Map< K, V> source) → Map<K, dynamic> - Clones a map, producing a new map with cloned keys and dynamic values.
-
cloneMapTyped<
K, V> (Map< K, V> source) → Map<K, V> - Clones a map with typed values, producing a new map with keys and cloned values.
-
cloneSet<
E> (Set< E> source) → Set<E> - Clones a set, producing a new set with cloned elements.
-
cloneValue(
dynamic source) → dynamic - Clones a single value, returning a deep copy if possible.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited