StockProductModel.fromJson constructor

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

Implementation

StockProductModel.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  ordered = json['ordered'];
  scanned = json['scanned'];
  stockRequestId = json['stockRequestId'];
  stockRequestName = json['stockRequestName'];
  status = json['status'];
  externalReferenceId = json['externalReferenceId'];
  requestedByPartnerId = json['requestedByPartnerId'];
  requestedToPartnerId = json['requestedToPartnerId'];
  productName = json['productName'];
  productDescription = json['productDescription'];
}