class addOrderPaymentViewResponse { List? paymentMode; List? description; String? error; String? message; addOrderPaymentViewResponse( {this.paymentMode, this.description, this.error, this.message}); addOrderPaymentViewResponse.fromJson(Map json) { paymentMode = json['payment_mode'].cast(); description = json['description'].cast(); error = json['error']; message = json['message']; } Map toJson() { final Map data = new Map(); data['payment_mode'] = this.paymentMode; data['description'] = this.description; data['error'] = this.error; data['message'] = this.message; return data; } }