mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-04 16:03:13 +00:00
24 lines
431 B
Dart
24 lines
431 B
Dart
|
part of 'devices_bloc.dart';
|
||
|
|
||
|
sealed class DevicesEvent extends Equatable {
|
||
|
const DevicesEvent();
|
||
|
}
|
||
|
|
||
|
class DevicesListChanged extends DevicesEvent {
|
||
|
const DevicesListChanged(this.devices);
|
||
|
|
||
|
final List<ApiToken>? devices;
|
||
|
|
||
|
@override
|
||
|
List<Object> get props => [];
|
||
|
}
|
||
|
|
||
|
class DeleteDevice extends DevicesEvent {
|
||
|
const DeleteDevice(this.device);
|
||
|
|
||
|
final ApiToken device;
|
||
|
|
||
|
@override
|
||
|
List<Object> get props => [device];
|
||
|
}
|