StockListDTO.fromJson constructor
Implementation
StockListDTO.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
quantity = json['quantity'];
startDate = json['startDate'];
endDate = json['endDate'];
product =
json['product'] != null ? ProductDTO.fromJson(json['product']) : null;
}