removeTable method Null safety
- SchemaTable table
Removes a table from this instance.
table
must be an instance in tables or an exception is thrown.
Sets table
's SchemaTable.schema to null.
Implementation
void removeTable(SchemaTable table) {
if (!tables.contains(table)) {
throw SchemaException("Table ${table.name} does not exist in schema.");
}
table.schema = null;
_tableStorage!.remove(table);
}