userProducts property

List<Product> get userProducts

Implementation

List<Product> get userProducts => _userProducts;
set userProducts (List<Product> value)

Sets the list of user products and notifies listeners of the change.

Implementation

set userProducts(List<Product> value) {
  _userProducts = value;
  notifyListeners();
}