createTable method Null safety

void createTable(
  1. SchemaTable table
)

Validates and adds a table to schema.

Implementation

void createTable(SchemaTable table) {
  schema!.addTable(table);

  if (store != null) {
    commands.addAll(store!.createTable(table, isTemporary: isTemporary));
  } else {
    commands.add(_getNewTableExpression(table));
  }
}