close method Null safety

Future<void> close()

Closes the connection to the database

Implementation

Future<void> close() async {
  _ready.add(false);
  await db.close();
  schema.clear();
}