2015-12-02 01:01:36 -05:00
|
|
|
// #docregion
|
|
|
|
class Hero {
|
2016-01-07 18:11:44 -05:00
|
|
|
int id;
|
2015-12-02 01:01:36 -05:00
|
|
|
String name;
|
|
|
|
|
2016-01-07 18:11:44 -05:00
|
|
|
Hero(this.id, this.name);
|
|
|
|
String toString() => '$id: $name';
|
2015-12-02 01:01:36 -05:00
|
|
|
}
|
|
|
|
// #enddocregion
|