ExtensionState constructor

const ExtensionState({
  1. Input<bool>? createCascade,
  2. Input<String>? database,
  3. Input<bool>? dropCascade,
  4. Input<String>? name,
  5. Input<String>? schema,
  6. Input<String>? version,
})

Creates a new ExtensionState. createCascade When true, will also create any extensions that this extension depends on that are not already installed. (Default: false) database Which database to create the extension on. Defaults to provider database. dropCascade When true, will also drop all the objects that depend on the extension, and in turn all objects that depend on those objects. (Default: false) name The name of the extension. schema Sets the schema of an extension. version Sets the version number of the extension.

Implementation

const ExtensionState({
  this.createCascade,
  this.database,
  this.dropCascade,
  this.name,
  this.schema,
  this.version,
});