SchemaTable.from constructor

SchemaTable.from(
  1. SchemaTable otherTable
)

Creates a deep copy of otherTable.

Implementation

SchemaTable.from(SchemaTable otherTable) {
  name = otherTable.name;
  _columns =
      otherTable.columns.map((col) => SchemaColumn.from(col!)).toList();
  _uniqueColumnSet = otherTable._uniqueColumnSet;
}