ElectrifyBaseOptions class

Implementers

Constructors

ElectrifyBaseOptions({Migrator? migrator, Notifier? notifier, Registry? registry, Future<void> prepare(DatabaseAdapter connection)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
migrator Migrator?
Defaults to the migrator for SQLite.
final
notifier Notifier?
final
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.
final
registry Registry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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