22 lines
586 B
Dart
22 lines
586 B
Dart
import 'package:isar/isar.dart';
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
import 'package:stadtbote/model/bootstrap_response_topics.dart';
|
|
import 'package:stadtbote/model/device_object.dart';
|
|
|
|
part 'bootstrap_response_config.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class BootstrapResponseConfig
|
|
{
|
|
late String broker;
|
|
|
|
late BootstrapResponseTopics topics;
|
|
|
|
BootstrapResponseConfig();
|
|
|
|
factory BootstrapResponseConfig.fromJson(Map<String, dynamic> json) => _$BootstrapResponseConfigFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$BootstrapResponseConfigToJson(this);
|
|
}
|
|
|