Files
apskel-pos-flutter-v2/lib/application/printer/bluetooth/bluetooth_connect/bluetooth_connect_state.dart
T
2025-11-04 22:13:15 +07:00

13 lines
381 B
Dart

part of 'bluetooth_connect_bloc.dart';
@freezed
class BluetoothConnectState with _$BluetoothConnectState {
factory BluetoothConnectState({
required Option<Either<PrinterFailure, bool>> failureOrSuccee,
@Default(false) bool isConnecting,
}) = _BluetoothConnectState;
factory BluetoothConnectState.initial() =>
BluetoothConnectState(failureOrSuccee: none());
}