NetworkResponse<T>.withDisconnect constructor

NetworkResponse<T>.withDisconnect()

Implementation

NetworkResponse.withDisconnect() {
  appDebugPrint("NetworkResponse.withDisconnect");
  data = null;
  status = false;
  this.msg = disconnectError;
}