disconnect method

dynamic disconnect()

Disconnect from the connected MigratoryData server and dispose the resources used by the connection.

This method should be called when the connection is no longer necessary.

Implementation

disconnect() {
  clientImpl.disconnect();
}