Skip to content

Commit d05c4b3

Browse files
committed
Add diagram to prototype.
1 parent 365108f commit d05c4b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

patterns/prototype/shapes/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ Copies of geometric objects.
88
**Description:**
99
https://refactoring.guru/design-patterns/prototype?#pseudocode
1010

11-
## Client code:
11+
### Class Diagram:
12+
![image](https://user-images.githubusercontent.com/8049534/150781031-52c8c32a-e94b-4f1b-86b9-eb0012427682.png)
13+
14+
15+
### Client code:
1216
```dart
1317
void main() {
1418
final originalShapes = [

0 commit comments

Comments
 (0)