hasDuplicates property

bool get hasDuplicates

Implementation

bool get hasDuplicates => length != toSet().length;