Erweiterungen
This commit is contained in:
1 parent
a39991bb63
commit
8e5462bc91
30 files changed
+173
-2664
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'device_object.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class DeviceObject {
|
||||
late String model;
|
||||
late String manufacturer;
|
||||
late String os;
|
||||
late String osVer;
|
||||
|
||||
DeviceObject();
|
||||
|
||||
factory DeviceObject.fromJson(Map<String, dynamic> json) => _$DeviceObjectFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$DeviceObjectToJson(this);
|
||||
}
|
||||
Reference in new issue
Block a user