import 'package:equatable/equatable.dart';

abstract class RestorePasswordPhoneVerificationEvent extends Equatable {
  const RestorePasswordPhoneVerificationEvent();

  @override
  List<Object> get props => [];
}

class RestorePasswordPhoneVerificationSubmitted
    extends RestorePasswordPhoneVerificationEvent {
  final String phoneNumber;
  final String countryResidence;

  const RestorePasswordPhoneVerificationSubmitted(
    this.phoneNumber,
    this.countryResidence,
  );

  @override
  List<Object> get props => [phoneNumber, countryResidence];
}

class RestorePasswordPhoneVerificationFormChanged
    extends RestorePasswordPhoneVerificationEvent {
  final String phoneNumber;
  final String country;

  const RestorePasswordPhoneVerificationFormChanged(
      this.phoneNumber, this.country);

  @override
  List<Object> get props => [phoneNumber, country];
}
