ElectricNamespace class

Constructors

ElectricNamespace({required String dbName, required DatabaseAdapter adapter, required Notifier notifier, required Registry registry})

Properties

adapter DatabaseAdapter
final
dbName String
final
hashCode int
The hash code for this object.
no setterinherited
isConnected bool
no setter
notifier Notifier
final
registry Registry
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Cleans up the resources used by the ElectricNamespace.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
potentiallyChanged() → void
We lift this function a level so the user can call db.electric.potentiallyChanged() rather than the longer / more redundant db.electric.notifier.potentiallyChanged().
setIsConnected(ConnectivityState connectivityState) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited