SchemaTable.from constructor Null safety

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;
}