ProductModel.fromJson constructor

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

Implementation

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