1. Import

This commit is contained in:
Sven committed 2023-11-14 11:38:44 +01:00
commit cb4525a774
165 files changed
+14763

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import 'package:isar/isar.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:stadtbote/model/device_object.dart';
part 'bootstrap_response_topics.g.dart';
@JsonSerializable()
class BootstrapResponseTopics
{
@JsonKey(name: 'to_server')
late String toServer;
@JsonKey(name: 'from_server')
late String fromServer;
BootstrapResponseTopics();
factory BootstrapResponseTopics.fromJson(Map<String, dynamic> json) => _$BootstrapResponseTopicsFromJson(json);
Map<String, dynamic> toJson() => _$BootstrapResponseTopicsToJson(this);
}