void removeTable(SchemaTable table)

Removes a table from this instance.

Sets table's SchemaTable.schema to null.

Source

void removeTable(SchemaTable table) {
  var toRemove = tables.firstWhere((t) => t.name.toLowerCase() == table.name.toLowerCase(),
      orElse: () => throw new SchemaException("Table ${table.name} does not exist in schema."));

  toRemove.schema = null;
  _tableStorage.remove(toRemove);
}