Fehler Merge behoben
This commit is contained in:
1 parent
721dbd861c
commit
eb1e18d042
10 files changed
+205
-148
No files matched your search
+1
-12
@@ -6,23 +6,12 @@ import 'package:stadtbote/model/tour_task.dart';
|
||||
|
||||
part 'job.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class JobsPayload {
|
||||
List<Job>? jobs;
|
||||
|
||||
JobsPayload({this.jobs});
|
||||
|
||||
factory JobsPayload.fromJson(Map<String, dynamic> json) => _$JobsPayloadFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$JobsPayloadToJson(this);
|
||||
}
|
||||
|
||||
@collection
|
||||
@JsonSerializable()
|
||||
class Job {
|
||||
late Id id;
|
||||
@JsonKey(name: 'ver')
|
||||
late int ver;
|
||||
late String ver;
|
||||
@JsonKey(name: 'state')
|
||||
late int state;
|
||||
@JsonKey(name: 'cr_filter')
|
||||
|
||||
Reference in new issue
Block a user