import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:functions/src/features/remote_connection/domain/entities/picture_entity.dart';

part 'remote_connection_view_state.freezed.dart';

@freezed
abstract class RemoteConnectionViewState with _$RemoteConnectionViewState {
  const factory RemoteConnectionViewState({
    @Default('') String phone,
    @Default([]) List<PictureEntity> pictures,
    @Default(true) bool isLoadingImages,
    @Default(false) bool isTakingPicture,
    @Default(false) bool isCalling,
    @Default('') String errorMessage
  }) = _RemoteConnectionViewState;
}
