mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 22:29:15 +00:00
22 lines
300 B
Dart
22 lines
300 B
Dart
|
enum MetadataType {
|
||
|
id,
|
||
|
status,
|
||
|
cpu,
|
||
|
ram,
|
||
|
cost,
|
||
|
location,
|
||
|
|
||
|
other,
|
||
|
}
|
||
|
|
||
|
class ServerMetadataEntity {
|
||
|
ServerMetadataEntity({
|
||
|
required this.name,
|
||
|
required this.value,
|
||
|
this.type = MetadataType.other,
|
||
|
});
|
||
|
final MetadataType type;
|
||
|
final String name;
|
||
|
final String value;
|
||
|
}
|