diff --git a/lib/models/profile.dart b/lib/models/profile.dart index 5812c6b..4998994 100644 --- a/lib/models/profile.dart +++ b/lib/models/profile.dart @@ -5,4 +5,6 @@ class Profile { Profile.fromMap(Map map) : username = map['username'], points = map['points'] ?? 0; + + Profile(this.username, this.points); }