selfprivacy.org.app/lib/logic/models/server_metadata.dart

22 lines
300 B
Dart
Raw Normal View History

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;
}