Unique constructor

const Unique({
  1. ConflictStrategy onConflict = ConflictStrategy.fail,
})

Create a Unique annotation.

Implementation

const Unique({this.onConflict = ConflictStrategy.fail});