Fehlerkorrekturen und Erweiterungen
This commit is contained in:
1 parent
080c5b22ef
commit
3fd8b0f9d4
58 files changed
+95
-57
No files matched your search
@@ -0,0 +1,31 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
import 'package:stadtbote/network_messages/fin_task_message.dart';
|
||||
|
||||
part 'accept_job_message.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Reaction {
|
||||
late int id;
|
||||
late String ver;
|
||||
late int item;
|
||||
late Track track;
|
||||
|
||||
Reaction();
|
||||
|
||||
factory Reaction.fromJson(Map<String, dynamic> json) => _$ReactionFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$ReactionToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable()
|
||||
@JsonSerializable()class Track {
|
||||
late String time;
|
||||
|
||||
FinTaskPos? pos;
|
||||
|
||||
Track();
|
||||
|
||||
factory Track.fromJson(Map<String, dynamic> json) => _$TrackFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$TrackToJson(this);
|
||||
}
|
||||
Reference in new issue
Block a user