New profile constructor
This commit is contained in:
@@ -5,4 +5,6 @@ class Profile {
|
||||
Profile.fromMap(Map<String, dynamic> map)
|
||||
: username = map['username'],
|
||||
points = map['points'] ?? 0;
|
||||
|
||||
Profile(this.username, this.points);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user