IsolateConnectionFactory<Database extends CommonDatabase> class
abstract
A connection factory that can be passed to different isolates.
- Mixed-in types
Constructors
- IsolateConnectionFactory({required dynamic openFactory, required dynamic mutex, required SerializedPortClient upstreamPort})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mutex → Mutex
-
no setter
-
openFactory
→ AbstractDefaultSqliteOpenFactory<
CommonDatabase> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upstreamPort → SerializedPortClient
-
no setter
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}) → FutureOr< CommonDatabase> -
Opens a synchronous sqlite.Database directly in the current isolate.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited