import 'package:krow_core/core.dart';

/// Represents the arguments required for the [SignInWithPhoneUseCase].
///
/// Encapsulates the phone number needed to initiate the sign-in process.
class SignInWithPhoneArguments extends UseCaseArgument {
  /// The phone number to be used for sign-in or sign-up.
  final String phoneNumber;

  /// Creates a [SignInWithPhoneArguments] instance.
  ///
  /// The [phoneNumber] is required.
  const SignInWithPhoneArguments({required this.phoneNumber});

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