mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
19 lines
400 B
Dart
19 lines
400 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
abstract class LoginEvent extends Equatable {
|
|
const LoginEvent();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class LoginButtonPressed extends LoginEvent {
|
|
final String username;
|
|
final String password;
|
|
|
|
const LoginButtonPressed({required this.username, required this.password});
|
|
|
|
@override
|
|
List<Object> get props => [username, password];
|
|
}
|