allowDuplicates property

bool allowDuplicates
final

Whether to allow duplicates in the list.

If true then the item will be added to the list even if it already exists. Defaults to false.

Implementation

final bool allowDuplicates;