passo_mobile_app/lib/bloc/user/user_event.dart

49 lines
1022 B
Dart
Raw Permalink Normal View History

part of 'user_bloc.dart';
abstract class UserEvent extends Equatable {
@override
List<Object> get props => [];
}
2023-01-23 05:46:09 +00:00
class GetApkVersion extends UserEvent {
2023-10-07 13:30:44 +00:00
final String? username;
final String? password;
GetApkVersion({required this.password, required this.username});
@override
2023-10-07 13:30:44 +00:00
List<Object> get props => [];
}
2023-01-23 05:46:09 +00:00
class UserLogin extends UserEvent {
final String? username;
final String? password;
2023-01-23 05:46:09 +00:00
UserLogin({this.username, this.password});
2023-01-23 08:23:20 +00:00
@override
List<Object> get props => [username!, password!];
2023-01-23 03:02:59 +00:00
}
2023-01-23 05:46:09 +00:00
class LoadLoggedInUser extends UserEvent {
LoadLoggedInUser();
2023-01-23 03:02:59 +00:00
}
2023-01-23 05:46:09 +00:00
class GetUuid extends UserEvent {
2023-01-23 03:02:59 +00:00
GetUuid();
}
2023-10-06 12:19:06 +00:00
class LoadUuid extends UserEvent {
2023-06-06 06:54:51 +00:00
LoadUuid();
}
2023-01-23 08:23:20 +00:00
2023-04-13 08:45:19 +00:00
class LoadVersion extends UserEvent {
final String? username;
final String? password;
2023-10-06 12:19:06 +00:00
LoadVersion({this.password, this.username});
2023-04-13 08:45:19 +00:00
}
2023-01-23 08:23:20 +00:00
class UuidLogin extends UserEvent {
final String? uuid;
final String? password;
UuidLogin({this.uuid, this.password});
@override
List<Object> get props => [uuid!, password!];
}