Generics: Generic collections and the types they contain

Generic collections and the types they contain

var names = List<String>(); 
names.addAll(['Seth', 'Kathy', 'Lars']); 
print(names is List<String>); // true

Related concepts

Generic collections and the types they contain

Generics: Generic collections and the types they contain — Structure map

Clickable & Draggable!

Generics: Generic collections and the types they contain — Related pages: