You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
377 B
26 lines
377 B
import 'package:uuid/uuid.dart';
|
|
|
|
class Player {
|
|
final Uuid _id;
|
|
String _name;
|
|
String _image;
|
|
|
|
// Constructor
|
|
Player(this._id, this._name, this._image);
|
|
|
|
// Getters and setters
|
|
Uuid get id => _id;
|
|
|
|
String get name => _name;
|
|
|
|
set name(String value) {
|
|
_name = value;
|
|
}
|
|
|
|
String get image => _image;
|
|
|
|
set image(String value) {
|
|
_image = value;
|
|
}
|
|
}
|