forked from eatvio/eatvio_app
Merge pull request 'main' (#1) from eatvio/eatvio_app:main into main
Reviewed-on: mso7nueh/eatvio_app#1
This commit is contained in:
@@ -132,6 +132,12 @@ enum Portion {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
String getValue() => switch (this) {
|
||||
Portion.grams => 'gr',
|
||||
Portion.milliliters => 'milliliters',
|
||||
Portion.pcs => 'pcs',
|
||||
};
|
||||
}
|
||||
|
||||
@freezed
|
||||
|
||||
Reference in New Issue
Block a user