2021-03-18 00:55:38 +00:00
|
|
|
// import 'package:equatable/equatable.dart';
|
|
|
|
// import 'package:selfprivacy/logic/models/state_types.dart';
|
2020-12-01 19:08:19 +00:00
|
|
|
|
2021-03-18 00:55:38 +00:00
|
|
|
// enum ServiceTypes {
|
|
|
|
// messanger,
|
|
|
|
// mail,
|
|
|
|
// passwordManager,
|
|
|
|
// github,
|
|
|
|
// cloud,
|
|
|
|
// }
|
2020-12-01 19:08:19 +00:00
|
|
|
|
2021-03-18 00:55:38 +00:00
|
|
|
// class Service extends Equatable {
|
|
|
|
// const Service({required this.state, required this.type});
|
2020-12-01 19:08:19 +00:00
|
|
|
|
2021-03-18 00:55:38 +00:00
|
|
|
// final StateType state;
|
|
|
|
// final ServiceTypes type;
|
2020-12-01 19:08:19 +00:00
|
|
|
|
2021-03-18 00:55:38 +00:00
|
|
|
// Service updateState(StateType newState) => Service(
|
|
|
|
// state: newState,
|
|
|
|
// type: type,
|
|
|
|
// );
|
2020-12-01 19:08:19 +00:00
|
|
|
|
2021-03-18 00:55:38 +00:00
|
|
|
// @override
|
|
|
|
// List<Object?> get props => [state, type];
|
|
|
|
// }
|