22 lines
334 B
Dart
22 lines
334 B
Dart
class User {
|
|
String? id;
|
|
String phone;
|
|
String? nickname;
|
|
String? avatar;
|
|
int? birthYear;
|
|
String? gender;
|
|
String? city;
|
|
List<String> interests;
|
|
|
|
User({
|
|
this.id,
|
|
required this.phone,
|
|
this.nickname,
|
|
this.avatar,
|
|
this.birthYear,
|
|
this.gender,
|
|
this.city,
|
|
this.interests = const [],
|
|
});
|
|
}
|