Skip to content

Mdc 102 flutter (Make a card collection step error) #107

Closed
@arbaazaj

Description

@arbaazaj

In the home.dart file #Make a collection cards (102) on the line
List<Product> products = getProducts(Category.all);,

the getProducts method does not exists instead the correct code is

List<Product> products = ProductsRepository.loadProducts();

also don't forget to add import 'model/products_repository.dart';

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions