паттерны паттер
abstract class Shape {
String draw();
}
class Square implements Shape {
String draw() => "Square";
}
class Triangle implements Shape {
String draw() => "Triangle";
}
Precious Panther