isOpen property

FutureOr<bool> get isOpen

A future that completes with true when this database is open and with false when its not. The future may never complete with an error or with null. It should return relatively quickly, as drift queries it before each statement it sends to the database.

Implementation

FutureOr<bool> get isOpen;