checkOpen method

void checkOpen()

Implementation

void checkOpen() {
  if (_db == null || _isClosed) {
    // reopen it
    open(populateFunction: _populateFunction);
  }
}