Index constructor

const Index({
  1. String? name,
  2. bool unique = false,
  3. required List<String> value,
})

Declares an index on an Entity.

Is not unique by default.

Implementation

const Index({this.name, this.unique = false, required this.value});