GeneratedColumn<T extends Object> constructor

GeneratedColumn<T extends Object>(
  1. String $name,
  2. String tableName,
  3. bool $nullable,
  4. {T? clientDefault(
      )?,
    1. required BaseSqlType<T> type,
    2. void defaultConstraints(
      1. GenerationContext
      )?,
    3. String? $customConstraints,
    4. Expression<T>? defaultValue,
    5. VerificationResult additionalChecks(
      1. T?,
      2. VerificationMeta
      )?,
    6. bool requiredDuringInsert = false,
    7. GeneratedAs? generatedAs,
    8. Expression<bool> check(
        )?,
      1. bool hasAutoIncrement = false}
      )

      Used by generated code.

      Implementation

      GeneratedColumn(
        this.$name,
        this.tableName,
        this.$nullable, {
        this.clientDefault,
        required this.type,
        void Function(GenerationContext)? defaultConstraints,
        this.$customConstraints,
        this.defaultValue,
        this.additionalChecks,
        this.requiredDuringInsert = false,
        this.generatedAs,
        this.check,
        this.hasAutoIncrement = false,
      }) : _defaultConstraints = defaultConstraints;