Stock.fromJson constructor

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

Implementation

Stock.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  sharedStock = json['sharedStock'];
  warehouse = json['warehouse'];
  transfer = json['transfer'];
}