import 'package:equatable/equatable.dart';

abstract class RegisterEvent extends Equatable {
  const RegisterEvent();

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

class RegisterSubmitted extends RegisterEvent {
  final String phoneNumber;

  final String countryResidence;

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

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

class RegisterFormChanged extends RegisterEvent {
  final String phoneNumber;
  final String country;

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

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