addColumn method Null safety
- SchemaColumn column
Adds column
to this table.
Sets column
's SchemaColumn.table to this instance.
Implementation
void addColumn(SchemaColumn column) {
if (this[column.name] != null) {
throw SchemaException("Column ${column.name} already exists.");
}
_columnStorage!.add(column);
column.table = this;
}