* docs(displaying-data/dart): proofread - Dart prose simplified by removing discussion of "additions to pubspec.yaml" which are no longer necessary given the current state of QuickStart. - E2e suites passed: public/docs/_examples/displaying-data/dart public/docs/_examples/displaying-data/ts Contributes to #1598 and #1508. * docs(displaying-data/ts): proofread - TS prose updated to include @kwalrath's revisions from a while ago, with some of my edits as well. - E2e suites passed: public/docs/_examples/displaying-data/dart public/docs/_examples/displaying-data/ts * docs(displaying-data/ts): post-review edits
10 lines
127 B
Dart
10 lines
127 B
Dart
// #docregion
|
|
class Hero {
|
|
final int id;
|
|
String name;
|
|
|
|
Hero(this.id, this.name);
|
|
|
|
String toString() => '$id: $name';
|
|
}
|