-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuml.txt
55 lines (48 loc) · 1.51 KB
/
uml.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@startuml
set namespaceSeparator ::
class "furnitur::core::models::amount_selector.dart::AmountSelectorModel" {
-int _amount
+int amount
+void reset()
+void increment()
+void decrement()
}
"flutter::src::foundation::change_notifier.dart::ChangeNotifier" <|-- "furnitur::core::models::amount_selector.dart::AmountSelectorModel"
class "furnitur::core::models::cart.dart::CartModel" {
-ProductsModel _products
+CartModel previous
-List<Product> _inCart
+List<Product> items
+List<Product> itemsUnique
+int totalPrice
+bool contains()
+int getAmountOf()
+void add()
+void remove()
+void toggleInCart()
}
"furnitur::core::models::cart.dart::CartModel" o-- "furnitur::core::models::products.dart::ProductsModel"
"furnitur::core::models::cart.dart::CartModel" o-- "furnitur::core::models::cart.dart::CartModel"
"flutter::src::foundation::change_notifier.dart::ChangeNotifier" <|-- "furnitur::core::models::cart.dart::CartModel"
class "furnitur::core::models::products.dart::ProductsModel" {
{static} -List<Product> _products
-String _activeCategory
+List<Product> items
+String activeCategory
+Product getById()
+List getProductsInCategory()
+void setActiveCategory()
+Product []()
}
"flutter::src::foundation::change_notifier.dart::ChangeNotifier" <|-- "furnitur::core::models::products.dart::ProductsModel"
class "furnitur::core::models::products.dart::Product" {
+int id
+String name
+int price
+String image
+String description
+String category
+int hashCode
+bool ==()
}
@enduml