containsTableNamed method

bool containsTableNamed(
  1. String tableName, {
  2. String? schema,
})

Returns true if the database contains a table with the given tableName.

Implementation

bool containsTableNamed(String tableName, {String? schema}) {
  return (findTableNamed(tableName, schema: schema) != null);
}