Allow model class to be filtered

- Each subclass should provide a custom filtering function
This commit is contained in:
Oliver Walters 2020-04-03 14:27:39 +11:00
parent ee7ab5308e
commit 728597fcdc
4 changed files with 50 additions and 2 deletions

View file

@ -27,7 +27,6 @@ class _StockItemDisplayState extends State<StockItemDisplayWidget> {
if (item == null) {
return "Stock Item";
} else {
print(item.jsondata);
return "Item: x ${item.partName}";
}
}