TetherColumnInfo constructor

TetherColumnInfo({
  1. required String name,
  2. required String originalName,
  3. String? localName,
  4. required String type,
  5. required bool isNullable,
  6. required bool isPrimaryKey,
  7. required bool isUnique,
  8. String? defaultValue,
  9. String? comment,
  10. bool isIdentity = false,
})

Creates an instance of TetherColumnInfo.

Implementation

TetherColumnInfo({
  required this.name,
  required this.originalName,
  String? localName,
  required this.type,
  required this.isNullable,
  required this.isPrimaryKey,
  required this.isUnique,
  this.defaultValue,
  this.comment,
  this.isIdentity = false,
}) : localName = localName ?? _makeSafeDartIdentifier(originalName);