mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +00:00
bug: Remove unused breaking isHidden field
This commit is contained in:
parent
70991e6bac
commit
aa5327df6e
|
@ -50,7 +50,6 @@ class ServerJob {
|
|||
final String? result;
|
||||
final String? statusText;
|
||||
final DateTime? finishedAt;
|
||||
bool isHidden = false;
|
||||
}
|
||||
|
||||
enum JobStatusEnum {
|
||||
|
|
|
@ -21,7 +21,7 @@ ServerJob _$ServerJobFromJson(Map<String, dynamic> json) => ServerJob(
|
|||
finishedAt: json['finishedAt'] == null
|
||||
? null
|
||||
: DateTime.parse(json['finishedAt'] as String),
|
||||
)..isHidden = json['isHidden'] as bool;
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$ServerJobToJson(ServerJob instance) => <String, dynamic>{
|
||||
'name': instance.name,
|
||||
|
@ -36,7 +36,6 @@ Map<String, dynamic> _$ServerJobToJson(ServerJob instance) => <String, dynamic>{
|
|||
'result': instance.result,
|
||||
'statusText': instance.statusText,
|
||||
'finishedAt': instance.finishedAt?.toIso8601String(),
|
||||
'isHidden': instance.isHidden,
|
||||
};
|
||||
|
||||
const _$JobStatusEnumEnumMap = {
|
||||
|
|
Loading…
Reference in a new issue