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,27 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'bootstrap_response_payload.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class BootstrapResponse
|
||||
{
|
||||
late String broker;
|
||||
late String id;
|
||||
|
||||
@JsonKey(name: "to_server")
|
||||
late String toServer;
|
||||
|
||||
@JsonKey(name: "from_server")
|
||||
late String fromServer;
|
||||
|
||||
late int status;
|
||||
|
||||
late String message;
|
||||
|
||||
BootstrapResponse();
|
||||
|
||||
factory BootstrapResponse.fromJson(Map<String, dynamic> json) => _$BootstrapResponseFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$BootstrapResponseToJson(this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user