21 lines
486 B
Dart
21 lines
486 B
Dart
import 'package:json_annotation/json_annotation.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);
|
|
}
|
|
|