clone<T> method
Creates a deep copy of the List, mutations to the original will not affect the copy.
Implementation
List<T> clone<T>() {
return map((e) => _guardedCopyWith(e)).whereType<T>().toList();
}
Creates a deep copy of the List, mutations to the original will not affect the copy.
List<T> clone<T>() {
return map((e) => _guardedCopyWith(e)).whereType<T>().toList();
}