34 lines
823 B
Dart
34 lines
823 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
abstract class LoginEvent extends Equatable {
|
|
const LoginEvent();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class LoginSubmitted extends LoginEvent {
|
|
final String phoneNumber;
|
|
final String password;
|
|
final String countryResidence;
|
|
final String countryId;
|
|
final String isdCode;
|
|
|
|
const LoginSubmitted(this.phoneNumber, this.password, this.countryResidence,
|
|
this.countryId, this.isdCode);
|
|
|
|
@override
|
|
List<Object> get props => [phoneNumber, password, countryResidence, isdCode];
|
|
}
|
|
|
|
class LoginFormChanged extends LoginEvent {
|
|
final String phoneNumber;
|
|
final String password;
|
|
final String country;
|
|
|
|
const LoginFormChanged(this.phoneNumber, this.password, this.country);
|
|
|
|
@override
|
|
List<Object> get props => [phoneNumber, password, country];
|
|
}
|