9 lines
181 B
Dart
9 lines
181 B
Dart
class Profile {
|
|
final String username;
|
|
final int points;
|
|
|
|
Profile.fromMap(Map<String, dynamic> map)
|
|
: username = map['username'],
|
|
points = map['points'] ?? 0;
|
|
}
|