stopSDK method

void stopSDK({
  1. dynamic completion()?,
})

Implementation

void stopSDK({Function()? completion}) {
  _stopObservingNetworkConnectionStatus();
  _tearDownSocketConnection();
  _clearData();
  Future.delayed(const Duration(milliseconds: 200));
  completion?.call();
}