CustomerKhasRequest.fromJson constructor

CustomerKhasRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CustomerKhasRequest.fromJson(Map<String, dynamic> json) {
  return CustomerKhasRequest(
    customerId: json['customer_id'] as String? ?? json['customerId'] as String?,
    customerName: json['customer_name'] as String? ?? json['customerName'] as String?,
  );
}