MFResponse constructor

MFResponse(
  1. {@required Map mfResponse}
)

Implementation

MFResponse({@required Map mfResponse}){
  this._status = mfResponse[STATUS]?? -1;
  this._errorCode = mfResponse[ERROR_CODE]?? -1;
  this._errorMsg = mfResponse[ERROR_MSG]?? '';
  this._responseText = mfResponse[RESPONSE_TEXT]?? '';
  this._responseJSON = mfResponse[RESPONSE_JSON]?? {};
  this._headers = mfResponse[HEADERS]?? {};
}