changes to leaderboard highlight
This commit is contained in:
@@ -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