unique property

bool unique
final

A unique index ensures the index does not contain any duplicate values. If you attempt to insert an object that conflicts with an existing object that has the same value for the indexed property, the existing object will be overwritten.

Implementation

final bool unique;