profile model
This commit is contained in:
1 parent
591fd346a6
commit
03de5b4bf7
1 file changed
+8
@@ -0,0 +1,8 @@
|
|||||||
|
class Profile {
|
||||||
|
final String username;
|
||||||
|
final int points;
|
||||||
|
|
||||||
|
Profile.fromMap(Map<String, dynamic> map)
|
||||||
|
: username = map['username'],
|
||||||
|
points = map['points'] ?? 0;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user