2025-11-04 14:58:51 +07:00

14 lines
427 B
Dart

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());
}