isOpen property

FutureOr<bool> 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;