15 lines
206 B
Dart
15 lines
206 B
Dart
|
// #docregion
|
||
|
import 'package:angular2/angular2.dart';
|
||
|
|
||
|
class Hero {
|
||
|
String name;
|
||
|
String power;
|
||
|
|
||
|
Hero clone() {
|
||
|
return new Hero()
|
||
|
..name = name
|
||
|
..power = power;
|
||
|
}
|
||
|
}
|
||
|
// #enddocregion
|