changes to leaderboard highlight
This commit is contained in:
1 parent
bfd2d2c337
commit
ce6722d73f
2 files changed
+6
-5
No files matched your search
@@ -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'];
|
||||
}
|
||||
Reference in new issue
Block a user