part of 'bluetooth_loader_bloc.dart';

@freezed
class BluetoothLoaderState with _$BluetoothLoaderState {
  factory BluetoothLoaderState({
    required List<BluetoothInfo> bluetoothDevices,
    required Option<PrinterFailure> failureOption,
    @Default(false) bool isFetching,
  }) = _BluetoothLoaderState;

  factory BluetoothLoaderState.initial() =>
      BluetoothLoaderState(bluetoothDevices: [], failureOption: none());
}
