13 lines
164 B
Dart
Raw Normal View History

// #docregion
class Hero {
String name;
String power;
Hero clone() {
return new Hero()
..name = name
..power = power;
}
}
// #enddocregion