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,15 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'connection_lost_message.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class ConnectionLostMessage {
|
||||
@JsonKey(name: "connection_lost")
|
||||
late bool connectionLost;
|
||||
|
||||
ConnectionLostMessage();
|
||||
|
||||
factory ConnectionLostMessage.fromJson(Map<String, dynamic> json) => _$ConnectionLostMessageFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$ConnectionLostMessageToJson(this);
|
||||
}
|
||||
Reference in new issue
Block a user