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