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;
  final String isdcode;
  final String id;

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

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

class Resendotp extends RegisterEvent {
  final String token;


  const Resendotp(
    this.token,

  );

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

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

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

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