IBinoxusPaymentResponse.fromJson constructor
Implementation
factory IBinoxusPaymentResponse.fromJson(Map<String, dynamic> json) {
return IBinoxusPaymentResponse(
paymentInfo: json.containsKey('payment_info')
? IPaymentInfo.fromJson(json['payment_info'])
: IPaymentInfo.empty(),
companyInfo: json.containsKey('companyInfo')
? ICompanyInfo.fromJson(json['companyInfo'])
: ICompanyInfo.empty(),
);
}