NetworkResponse<T>.withErrorConvert constructor

NetworkResponse<T>.withErrorConvert(
  1. dynamic error
)

Implementation

NetworkResponse.withErrorConvert(error) {
  appDebugPrint("NetworkResponse.withErrorConvert: $error");
  data = null;
  status = false;
  this.msg = unknownError;
}