CommonCallBackResponse constructor

CommonCallBackResponse(
  1. Map<String, dynamic> rawResponse
)

Implementation

CommonCallBackResponse(this.rawResponse) {
  resultType =
      int.tryParse((rawResponse['Result']?['ResultType']).toString()) ?? 3;
  resultCode =
      int.tryParse((rawResponse['Result']?['ResultCode']).toString()) ?? 3;
  resultDesc = rawResponse['Result']?['ResultDesc'];
  originatorConversationID =
      rawResponse['Result']?['OriginatorConversationID'];
  transactionID = rawResponse['Result']?['TransactionID'];
  conversationID = rawResponse['Result']?['ConversationID'];
}