Sqlite constructor

const Sqlite({
  1. Column? columnType,
  2. String? defaultValue,
  3. bool? enumAsString,
  4. String? fromGenerator,
  5. bool? ignore,
  6. bool? ignoreTo,
  7. bool? ignoreFrom,
  8. bool? index,
  9. String? name,
  10. bool? nullable,
  11. bool? onDeleteCascade,
  12. bool? onDeleteSetDefault,
  13. String? toGenerator,
  14. bool? unique,
})

Creates a new Sqlite instance.

Only required when the default behavior is not desired.

Implementation

const Sqlite({
  this.columnType,
  this.defaultValue,
  bool? enumAsString,
  this.fromGenerator,
  bool? ignore,
  bool? ignoreTo,
  bool? ignoreFrom,
  bool? index,
  this.name,
  bool? nullable,
  bool? onDeleteCascade,
  bool? onDeleteSetDefault,
  this.toGenerator,
  bool? unique,
})  : enumAsString = enumAsString ?? false,
      ignore = ignore ?? false,
      ignoreFrom = ignoreFrom ?? false,
      ignoreTo = ignoreTo ?? false,
      index = index ?? false,
      nullable = nullable ?? true,
      onDeleteCascade = onDeleteCascade ?? false,
      onDeleteSetDefault = onDeleteSetDefault ?? false,
      unique = unique ?? false;