15 lines
275 B
Dart
15 lines
275 B
Dart
class User {
|
|
int userId;
|
|
String name;
|
|
String email;
|
|
String token;
|
|
|
|
static final User noUser = User(userId: 0, name: '', email: '', token: '');
|
|
|
|
User(
|
|
{required this.userId,
|
|
required this.name,
|
|
required this.email,
|
|
required this.token});
|
|
}
|