ExtensionState class
Input properties used for looking up and filtering Extension resources.
Constructors
-
ExtensionState({Input<
bool> ? createCascade, Input<String> ? database, Input<bool> ? dropCascade, Input<String> ? name, Input<String> ? schema, Input<String> ? version}) -
Creates a new ExtensionState.
createCascadeWhen true, will also create any extensions that this extension depends on that are not already installed. (Default: false)databaseWhich database to create the extension on. Defaults to provider database.dropCascadeWhen true, will also drop all the objects that depend on the extension, and in turn all objects that depend on those objects. (Default: false)nameThe name of the extension.schemaSets the schema of an extension.versionSets the version number of the extension.const -
ExtensionState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createCascade
→ Input<
bool> ? -
When true, will also create any extensions that this extension depends on that are not already installed. (Default: false)
final
-
database
→ Input<
String> ? -
Which database to create the extension on. Defaults to provider database.
final
-
dropCascade
→ Input<
bool> ? -
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)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The name of the extension.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Input<
String> ? -
Sets the schema of an extension.
final
-
version
→ Input<
String> ? -
Sets the version number of the extension.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited