Skip to content

Commit

Permalink
fix: #357 - added forgotten "toJson: UnitHelper.unitToString"s (tons …
Browse files Browse the repository at this point in the history
…of them!) (#358)

Impacted files:
* `api_saveProduct_test.dart`: added vitamin B12 + unit to a "save and check" test
* `Nutriments.dart`: added `toJson: UnitHelper.unitToString` to most `Unit`s, that only had `fromJson: UnitHelper.stringToUnit`
* `Nutriments.g.dart`: generated file
  • Loading branch information
monsieurtanuki authored Jan 8, 2022
1 parent 748f631 commit 9eb2872
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 66 deletions.
Loading

0 comments on commit 9eb2872

Please sign in to comment.