SchemaBuilder constructor

SchemaBuilder(
  1. PersistentStore? store,
  2. Schema inputSchema, {
  3. bool isTemporary = false,
})

Creates a builder starting from an existing schema.

If store is null, this builder will emit commands that are Dart statements that replicate the methods invoked on this object. Otherwise, commands are SQL commands (for the database represented by store) that are equivalent to the method invoked on this object.

Implementation

SchemaBuilder(this.store, this.inputSchema, {this.isTemporary = false}) {
  schema = Schema.from(inputSchema);
}