products property

List<Product> products
final

Implementation

final List<Product> products = [
  Product(id: 1, name: "Laptop", price: 50000),
  Product(id: 2, name: "Mobile Phone", price: 20000),
  Product(id: 3, name: "Headphones", price: 2000),
  Product(id: 4, name: "Keyboard", price: 1500),
  Product(id: 5, name: "Mouse", price: 800),
];