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,20 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
import 'package:stadtbote/network_messages/fin_task_message.dart';
|
||||
|
||||
part 'track_station_message.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class TrackStationMessage {
|
||||
@JsonKey(name: 's_id')
|
||||
late int sid;
|
||||
|
||||
late String time;
|
||||
|
||||
FinTaskPos? pos;
|
||||
|
||||
TrackStationMessage();
|
||||
|
||||
factory TrackStationMessage.fromJson(Map<String, dynamic> json) => _$TrackStationMessageFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$TrackStationMessageToJson(this);
|
||||
}
|
||||
Reference in new issue
Block a user