ManageInventoryStockCountSystem.fromJson constructor
ManageInventoryStockCountSystem.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ManageInventoryStockCountSystem.fromJson(
Map<String, dynamic> json) {
return ManageInventoryStockCountSystem(
manageInventoryId: json['manageInventoryId'],
employee: json['employee'] != null
? Employee.fromJson(json['employee'])
: null,
inventoryManagement: json['inventoryManagement'] != null
? Inventory.fromJson(json['inventoryManagement'])
: null,
manageStockCountSession: json['manageStockCountSession'] != null
? ManageStockCountSession.fromJson(
json['manageStockCountSession'])
: null,
dateadd: json['dateadd'] != null
? DateTime.parse(json['dateadd'])
: null,
dateedit: json['dateedit'] != null
? DateTime.parse(json['dateedit'])
: null,
);
}