ElectrifyOptions class
- Inheritance
-
- Object
- ElectrifyBaseOptions
- ElectrifyOptions
Constructors
-
ElectrifyOptions({DatabaseAdapter? adapter, SocketFactory? socketFactory, Migrator? migrator, Notifier? notifier, Registry? registry, Future<
void> prepare(DatabaseAdapter connection)?})
Properties
- adapter → DatabaseAdapter?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- migrator → Migrator?
-
Defaults to the migrator for SQLite.
finalinherited
- notifier → Notifier?
-
finalinherited
-
prepare
→ (Future<
void> Function(DatabaseAdapter connection)?) -
Function that prepares the database connection.
If not overridden, the default prepare function
enables the
foreign_key
pragma on the DB connection. @param connection The database connection. @returns A promise that resolves when the database connection is prepared.finalinherited - registry → Registry?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socketFactory → SocketFactory?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited