import 'package:equatable/equatable.dart';

abstract class RestorePasswordEvent extends Equatable {
  const RestorePasswordEvent();

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

class RestorePasswordSubmitted extends RestorePasswordEvent {
  final String password;
  final String repeatPassword;

  const RestorePasswordSubmitted(
    this.password,
    this.repeatPassword,
  );

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

class RestorePasswordFormChanged extends RestorePasswordEvent {
  final String password;
  final String repeatPassword;

  const RestorePasswordFormChanged(this.password, this.repeatPassword);

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