10 lines
150 B
Dart
10 lines
150 B
Dart
|
class Person {
|
||
|
final int id;
|
||
|
final String name;
|
||
|
|
||
|
const Person(this.id, this.name);
|
||
|
|
||
|
@override
|
||
|
String toString() => "Person: $name ($id)";
|
||
|
}
|