forked from eatvio/eatvio_app
plans filters ready
This commit is contained in:
@@ -37,6 +37,7 @@ class PlanModel with _$PlanModel {
|
||||
@JsonKey(name: "total_views") required int totalViews,
|
||||
@JsonKey(name: "total_comments") required int totalComments,
|
||||
@JsonKey(name: "is_favorite") required bool isFavorite,
|
||||
@Default(false) bool wasLikedByMe,
|
||||
}) = _PlanModel;
|
||||
|
||||
factory PlanModel.fromJson(Map<String, dynamic> json) => _$PlanModelFromJson(json);
|
||||
|
||||
Reference in New Issue
Block a user