Erweiterungen
This commit is contained in:
1 parent
1249abfd15
commit
5d344eedf7
5 files changed
+98
-16
No files matched your search
@@ -6,6 +6,8 @@ part 'start_session_message.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class StartSessionMessage {
|
||||
late String otto;
|
||||
|
||||
StartSessionMessage();
|
||||
|
||||
factory StartSessionMessage.fromJson(Map<String, dynamic> json) => _$StartSessionMessageFromJson(json);
|
||||
|
||||
@@ -7,8 +7,10 @@ part of 'start_session_message.dart';
|
||||
// **************************************************************************
|
||||
|
||||
StartSessionMessage _$StartSessionMessageFromJson(Map<String, dynamic> json) =>
|
||||
StartSessionMessage();
|
||||
StartSessionMessage()..otto = json['otto'] as String;
|
||||
|
||||
Map<String, dynamic> _$StartSessionMessageToJson(
|
||||
StartSessionMessage instance) =>
|
||||
<String, dynamic>{};
|
||||
<String, dynamic>{
|
||||
'otto': instance.otto,
|
||||
};
|
||||
Reference in new issue
Block a user