changes to leaderboard highlight

This commit is contained in:
SomnusVeritas
2023-10-20 23:42:51 +02:00
parent bfd2d2c337
commit ce6722d73f
2 changed files with 6 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
class Profile {
final String username;
final int points;
final String id;
Profile.fromMap(Map<String, dynamic> map)
: username = map['username'],
points = map['points'] ?? 0;
Profile(this.username, this.points);
points = map['points'] ?? 0,
id = map['id'];
}