Files
MaggsVictoryVoyage/lib/models/profile.dart
2023-10-20 23:42:51 +02:00

11 lines
224 B
Dart

class Profile {
final String username;
final int points;
final String id;
Profile.fromMap(Map<String, dynamic> map)
: username = map['username'],
points = map['points'] ?? 0,
id = map['id'];
}