dart clone code example
Example: dart clone list
List<String> planets = ["Mercury", "Venus", "Mars"];
List<String> morePlanets = new List<String>.from(planets);
List<String> planets = ["Mercury", "Venus", "Mars"];
List<String> morePlanets = new List<String>.from(planets);