mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-26 22:24:56 +00:00
push gatway devices
This commit is contained in:
20
lib/pages/device_managment/gateway/bloc/gate_way_event.dart
Normal file
20
lib/pages/device_managment/gateway/bloc/gate_way_event.dart
Normal file
@ -0,0 +1,20 @@
|
||||
part of 'gate_way_bloc.dart';
|
||||
|
||||
sealed class GateWayEvent extends Equatable {
|
||||
const GateWayEvent();
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
}
|
||||
|
||||
class GateWayLoading extends GateWayEvent {}
|
||||
|
||||
class GateWayFetch extends GateWayEvent {
|
||||
final String deviceId;
|
||||
const GateWayFetch(this.deviceId);
|
||||
}
|
||||
|
||||
class GatWayById extends GateWayEvent {
|
||||
final String getWayId;
|
||||
const GatWayById(this.getWayId);
|
||||
}
|
||||
Reference in New Issue
Block a user