Fehlerkorrekturen und Erweiterungen

This commit is contained in:
Sven committed 2025-02-11 09:41:46 +01:00
1 parent 080c5b22ef
commit 3fd8b0f9d4
58 files changed
+95 -57

No files matched your search

@@ -0,0 +1,21 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:stadtbote/network_messages/device_object.dart';
part 'bootstrap_request.g.dart';
@JsonSerializable()
class BootstrapRequest {
late String app;
late int ver;
late String mqttClientId;
@JsonKey(name: 'device')
late DeviceObject deviceObject;
BootstrapRequest();
factory BootstrapRequest.fromJson(Map<String, dynamic> json) => _$BootstrapRequestFromJson(json);
Map<String, dynamic> toJson() => _$BootstrapRequestToJson(this);
}