Check out example codes for "dart spread". It will help you in understanding the concepts better.

Code Example 1

arr1 = [1, 2, 3];
arr2 = [...arr1, 4, 5, 6]
// arr -> [1, 2, 3, 4, 5, 6]

Learn ReactJs, React Native from akashmittal.com