PrimaryKey constructor

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

Create a new primary key.

Implementation

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