LiteConnection class

Constructors

LiteConnection()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

closeIfConnected() Future<void>
connect(String domain) Future<Database>
getConnection() Future<Database>
getConnectionWithStatus() Future<(Database, bool)>
Returns the database instance along with its availability status. This should be used only for automated background tasks where access must not interfere with interactive or user-driven operations (e.g., sync jobs).
setDatabaseConfig(LiteDatabaseConfig config) → void