13 lines
164 B
Dart
13 lines
164 B
Dart
|
// #docregion
|
||
|
class Hero {
|
||
|
String name;
|
||
|
String power;
|
||
|
|
||
|
Hero clone() {
|
||
|
return new Hero()
|
||
|
..name = name
|
||
|
..power = power;
|
||
|
}
|
||
|
}
|
||
|
// #enddocregion
|