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