UniqueIndex constructor

const UniqueIndex({
  1. String? name,
  2. required List<String> fields,
})

Create a new unique index.

Implementation

const UniqueIndex({
  this.name,
  required this.fields,
});