Erweiterungen
This commit is contained in:
1 parent
279f6cb868
commit
5b3dead325
14 files changed
+114
-52
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
import 'package:stadtbote/model/log_entry.dart';
|
||||
|
||||
part 'device_log_response.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class DeviceLogResponse {
|
||||
late List<LogEntry> entries;
|
||||
|
||||
DeviceLogResponse();
|
||||
|
||||
Map<String, dynamic> toJson() => _$DeviceLogResponseToJson(this);
|
||||
|
||||
factory DeviceLogResponse.fromJson(Map<String, dynamic> json) => _$DeviceLogResponseFromJson(json);
|
||||
}
|
||||
Reference in new issue
Block a user