DatabaseColumnUnsignedBase<T> constructor

  1. @literal
const DatabaseColumnUnsignedBase<T>(
  1. String name, {
  2. String? constraints,
  3. bool unique = false,
  4. bool indexed = false,
})

Implementation

@literal
const DatabaseColumnUnsignedBase(
  String name, {
  String? constraints,
  bool unique = false,
  bool indexed = false,
}) : super(
        name,
        constraints: constraints ?? 'NOT NULL CHECK($name >= 0)',
        unique: unique,
        indexed: indexed,
      );