close method Null safety

Future close()

Closes a connection.

After the returned Future completes, this connection can no longer be used to execute queries. Any queries in progress or queued are cancelled.

Implementation

Future close() => _close();