void removeTable(SchemaTable table)

Source

void removeTable(SchemaTable table) {
  if (this[table.name] == null) {
    throw new SchemaException(
        "Table ${table.name} does not exist in schema.");
  }

  tables
      .removeWhere((st) => st.name.toLowerCase() == table.name.toLowerCase());
}