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