list .add in dart code example Example: dart add list to list var newList = [...list1, ...list2].toSet().toList(); hasan