dart matrix extend code example
Example 1: dart matrix extend
var newList = [...list1, ...list2].toSet().toList();
Example 2: dart matrix extend
var newList = [...list1, ...list2, ...list3];
Example 3: dart matrix extend
var newList = new List.from(list1)..addAll(list2);
Example 4: dart matrix extend
var newList = list1 + list2 + list3;