close static method

Future<void> close()

Close active connection.

Implementation

static Future<void> close() async {
  await _mysql?.close();
  await _pg?.close();
  _driver = null;
  _isConnected = false;
  _mysql = null;
  _pg = null;
}