dart Collections Creating a new Set


Example

Sets can be created via the constructor:

var ingredients = new Set();
ingredients.addAll(['gold', 'titanium', 'xenon']);