Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it is not working #2

Open
manish1238 opened this issue Apr 14, 2023 · 0 comments
Open

it is not working #2

manish1238 opened this issue Apr 14, 2023 · 0 comments

Comments

@manish1238
Copy link

error: Target of URI doesn't exist: 'package:day59/models/categories/CategoryModel.freezed.dart'. (uri_does_not_exist at [day59] lib/models/categories/CategoryModel.dart:4)
error: Target of URI hasn't been generated: 'package:day59/models/categories/CategoryModel.g.dart'. (uri_has_not_been_generated at [day59] lib/models/categories/CategoryModel.dart:5)
error: The name 'CategoryModel' isn't a type and can't be used in a redirected constructor. (redirect_to_non_class at [day59] lib/models/categories/CategoryModel.dart:13)
error: The method '
$CategoryModelFromJson' isn't defined for the type 'CategoryModel'. (undefined_method at [day59] lib/models/categories/CategoryModel.dart:15)
error: Target of URI doesn't exist: 'package:day59/models/offers/OfferModel.freezed.dart'. (uri_does_not_exist at [day59] lib/models/offers/OfferModel.dart:4)
error: Target of URI hasn't been generated: 'package:day59/models/offers/OfferModel.g.dart'. (uri_has_not_been_generated at [day59] lib/models/offers/OfferModel.dart:5)
error: The name 'OfferModel' isn't a type and can't be used in a redirected constructor. (redirect_to_non_class at [day59] lib/models/offers/OfferModel.dart:17)
error: The method '
$OfferModelFromJson' isn't defined for the type 'OfferModel'. (undefined_method at [day59] lib/models/offers/OfferModel.dart:19)
error: Target of URI doesn't exist: 'package:day59/models/products/ProductModel.freezed.dart'. (uri_does_not_exist at [day59] lib/models/products/ProductModel.dart:5)
error: Target of URI hasn't been generated: 'package:day59/models/products/ProductModel.g.dart'. (uri_has_not_been_generated at [day59] lib/models/products/ProductModel.dart:6)
error: The name 'ProductModel' isn't a type and can't be used in a redirected constructor. (redirect_to_non_class at [day59] lib/models/products/ProductModel.dart:27)
error: The method '
$ProductModelFromJson' isn't defined for the type 'ProductModel'. (undefined_method at [day59] lib/models/products/ProductModel.dart:29)
error: The getter 'image' isn't defined for the type 'OfferModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:104)
error: The getter 'image' isn't defined for the type 'CategoryModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:147)
error: The getter 'name' isn't defined for the type 'CategoryModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:162)
error: The getter 'id' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:220)
error: The getter 'image' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:237)
error: The getter 'name' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:246)
error: The getter 'brand' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:248)
error: The getter 'price' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:252)
error: The getter 'discountPrice' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/home/tabs/ExploreTab.dart:256)
error: The getter 'image' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/product/ProductPage.dart:53)
error: The getter 'brand' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/product/ProductPage.dart:96)
error: The getter 'name' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/product/ProductPage.dart:98)
error: The getter 'rating' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/product/ProductPage.dart:104)
error: The getter 'price' isn't defined for the type 'ProductModel'. (undefined_getter at [day59] lib/views/product/ProductPage.dart:120)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant