Files
syncrow-web/lib/pages/device_managment/gateway/bloc/gate_way_state.dart
ashrafzarkanisala 191801d9a8 push gatway devices
2024-08-26 21:23:32 +03:00

27 lines
595 B
Dart

part of 'gate_way_bloc.dart';
sealed class GateWayState extends Equatable {
const GateWayState();
@override
List<Object> get props => [];
}
final class GateWayInitial extends GateWayState {}
class GatewayLoadingState extends GateWayState {}
class UpdateGatewayState extends GateWayState {
final List<DeviceModel> list;
const UpdateGatewayState({required this.list});
@override
List<Object> get props => [list];
}
class ErrorState extends GateWayState {
final String message;
const ErrorState({required this.message});
@override
List<Object> get props => [message];
}