CreateStr.primary constructor

CreateStr.primary(
  1. String name, {
  2. int length = 20,
  3. Foreign? foreignKey,
  4. String? uniqueGroup,
})

Implementation

CreateStr.primary(this.name,
    {this.length = 20, this.foreignKey, this.uniqueGroup})
    : isPrimary = true,
      isNullable = false;