extending class in run time in dart code example
Example 1: dart matrix extend
var newList = new List.from(list1)..addAll(list2);
Example 2: dart matrix extend
var newList = [...list1, ...list2].toSet().toList();
var newList = new List.from(list1)..addAll(list2);
var newList = [...list1, ...list2].toSet().toList();