part of 'pin_bloc.dart';

abstract class PinEvent extends Equatable {
  const PinEvent();

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

class NumberPressed extends PinEvent {
  final String number;
  final String fromscreen;

  const NumberPressed(this.number, this.fromscreen);

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

class BackspacePressed extends PinEvent {}

class SavePinPressed extends PinEvent {}

class VerifyPinPressed extends PinEvent {
  final String pin;
  final String fromscreen;
  const VerifyPinPressed(this.pin, this.fromscreen);

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

class VerifyLoginPinPressed extends PinEvent {
  final String pin;
  final String fromscreen;
  const VerifyLoginPinPressed(this.pin, this.fromscreen);

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

class UpdateLoginPinPressed extends PinEvent {
  final String pin;
  final String fromscreen;
  const UpdateLoginPinPressed(this.pin, this.fromscreen);

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