Prototype Design Pattern, Prototype Design, Flutter, Flutter App Development, Dark Design Patterns.
Map<String, Student> map = new HashMap<>(); Student get(String key) { return map.get(key); } void register(String key, Student st) { map.put(key, st); } } Now Let’s create another intelligent student file. package prototype; public class InteligentStudent extends Student { int IQ;