Erweiterungen
This commit is contained in:
1 parent
30919773f0
commit
3ae2aa4432
4 files changed
+1
-43
No files matched your search
@@ -1,16 +0,0 @@
|
||||
import 'dart:core';
|
||||
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'tail.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Tail {
|
||||
late bool sendMessages;
|
||||
|
||||
Tail();
|
||||
|
||||
Map<String, dynamic> toJson() => _$TailToJson(this);
|
||||
|
||||
factory Tail.fromJson(Map<String, dynamic> json) => _$TailFromJson(json);
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'tail.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Tail _$TailFromJson(Map<String, dynamic> json) =>
|
||||
Tail()..sendMessages = json['sendMessages'] as bool;
|
||||
|
||||
Map<String, dynamic> _$TailToJson(Tail instance) => <String, dynamic>{
|
||||
'sendMessages': instance.sendMessages,
|
||||
};
|
||||
Reference in new issue
Block a user