close method

Future<void> close()

Implementation

Future<void> close() async {
  if (db != null) {
    await db!.close();
    _isOpened = false;
  }
}