readOnly property
A hint that the transaction will be read-only.
Implementations based on connection pools can use this hint to acquire a connection from a read-only connection. This allows not blocking the write connection if it's known that a transaction will only issue reads.
Implementation
final bool readOnly;