class TechnicianAddPaymentCollectionResponse { int? paymentCollectionId; int? error; String? message; int? sessionExists; TechnicianAddPaymentCollectionResponse({ this.paymentCollectionId, this.error, this.message, this.sessionExists, }); TechnicianAddPaymentCollectionResponse.fromJson(Map json) { paymentCollectionId = json['payment_collection_id']; error = json['error']; message = json['message']; sessionExists = json['session_exists']; } Map toJson() { final Map data = {}; data['payment_collection_id'] = paymentCollectionId; data['error'] = error; data['message'] = message; data['session_exists'] = sessionExists; return data; } }