mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
organized instances in bloc.
This commit is contained in:
@ -17,10 +17,9 @@ part 'flush_mounted_presence_sensor_state.dart';
|
|||||||
class FlushMountedPresenceSensorBloc
|
class FlushMountedPresenceSensorBloc
|
||||||
extends Bloc<FlushMountedPresenceSensorEvent, FlushMountedPresenceSensorState> {
|
extends Bloc<FlushMountedPresenceSensorEvent, FlushMountedPresenceSensorState> {
|
||||||
final String deviceId;
|
final String deviceId;
|
||||||
late FlushMountedPresenceSensorModel deviceStatus;
|
|
||||||
|
|
||||||
final ControlDeviceService controlDeviceService;
|
final ControlDeviceService controlDeviceService;
|
||||||
|
|
||||||
|
late FlushMountedPresenceSensorModel deviceStatus;
|
||||||
FlushMountedPresenceSensorBloc({
|
FlushMountedPresenceSensorBloc({
|
||||||
required this.deviceId,
|
required this.deviceId,
|
||||||
required this.controlDeviceService,
|
required this.controlDeviceService,
|
||||||
|
Reference in New Issue
Block a user