isOpen property

  1. @override
bool isOpen
override

True if this connection is still open and can be used.

If false, connection is invalid and cannot be used anymore and a new connection has to be initialized. (Usually by using DatabaseAdapter.)

Implementation

@override
bool get isOpen => !_connection.isClosed;