mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +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? result;
|
||||||
final String? statusText;
|
final String? statusText;
|
||||||
final DateTime? finishedAt;
|
final DateTime? finishedAt;
|
||||||
bool isHidden = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum JobStatusEnum {
|
enum JobStatusEnum {
|
||||||
|
|
|
@ -21,7 +21,7 @@ ServerJob _$ServerJobFromJson(Map<String, dynamic> json) => ServerJob(
|
||||||
finishedAt: json['finishedAt'] == null
|
finishedAt: json['finishedAt'] == null
|
||||||
? null
|
? null
|
||||||
: DateTime.parse(json['finishedAt'] as String),
|
: DateTime.parse(json['finishedAt'] as String),
|
||||||
)..isHidden = json['isHidden'] as bool;
|
);
|
||||||
|
|
||||||
Map<String, dynamic> _$ServerJobToJson(ServerJob instance) => <String, dynamic>{
|
Map<String, dynamic> _$ServerJobToJson(ServerJob instance) => <String, dynamic>{
|
||||||
'name': instance.name,
|
'name': instance.name,
|
||||||
|
@ -36,7 +36,6 @@ Map<String, dynamic> _$ServerJobToJson(ServerJob instance) => <String, dynamic>{
|
||||||
'result': instance.result,
|
'result': instance.result,
|
||||||
'statusText': instance.statusText,
|
'statusText': instance.statusText,
|
||||||
'finishedAt': instance.finishedAt?.toIso8601String(),
|
'finishedAt': instance.finishedAt?.toIso8601String(),
|
||||||
'isHidden': instance.isHidden,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const _$JobStatusEnumEnumMap = {
|
const _$JobStatusEnumEnumMap = {
|
||||||
|
|
Loading…
Reference in a new issue