import 'package:freezed_annotation/freezed_annotation.dart';

part 'link_phone_view_state.freezed.dart';

@freezed
abstract class LinkPhoneViewState with _$LinkPhoneViewState {
  const factory LinkPhoneViewState({
    @Default('') String phoneNumber,
    @Default('+34') String dialCode,
    @Default('') String errorMessage,
    @Default(false) bool isLoading,
    @Default(false) bool codeRequested,
    @Default(false) bool codeVerified,
  }) = _LinkPhoneViewState;
}
