toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'token': token,
'secureHashValue': secureHashValue,
'merchantId': merchantId,
'transactionId': transactionId,
'currency': currency,
'amount': amount,
'isNfc': transactionType == TransactionType.nfc,
'terminalId': terminalId,
'merchantName': merchantName,
'locale': locale,
'isMocked': isMocked,
'countDownInSeconds': countDownInSeconds,
'flavor': flavor,
'additionValues': additionValues,
};
}