OpenSession class
A pending session instance.
This class represents a session that is pending to be opened, including its store, isTransaction, profile, and session.
Constructors
- OpenSession({required StoreHandle store, required bool isTransaction, String? profile})
- Constructs an instance of OpenSession.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTransaction → bool
-
Determines if this instance would begin a transaction.
final
- profile ↔ String?
-
Optional profile associated with the session.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session ↔ Session?
-
The session instance.
getter/setter pair
- store → StoreHandle
-
The handle for the store.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< Session> - Opens this pending session.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited