forked from eatvio/eatvio_app
fix: fixed analyzer issues and merge conflicts
This commit is contained in:
@@ -26,7 +26,7 @@ abstract class ChosenDietModel with _$ChosenDietModel {
|
||||
factory ChosenDietModel.fromJson(Map<String, dynamic> json) => _$ChosenDietModelFromJson(json);
|
||||
}
|
||||
|
||||
int? _parseDietId(json) {
|
||||
int? _parseDietId(dynamic json) {
|
||||
if (json == null) return null;
|
||||
return json['id'] as int?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user