IsolateConnectionFactory class
A connection factory that can be passed to different isolates.
Constructors
- IsolateConnectionFactory.new({required SqliteOpenFactory openFactory, required SerializedMutex mutex, required SerializedPortClient upstreamPort})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mutex ↔ SerializedMutex
-
getter/setter pair
- openFactory ↔ SqliteOpenFactory
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upstreamPort ↔ SerializedPortClient
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
{String? debugName, bool readOnly = false}) → SqliteConnection - Open a new SqliteConnection.
-
openRawDatabase(
{bool readOnly = false}) → Future< Database> - Opens a synchronous sqlite.Database directly in the current isolate.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited