feat(app): live terminal log console widget and service dynamic settings management

This commit is contained in:
2026-08-15 21:31:00 +02:00
parent f18f75c1ab
commit b0f8d4b78b
5 changed files with 471 additions and 6 deletions
@@ -1,11 +1,13 @@
class ServiceSettingDto {
final String key;
final String value;
final String type; // 'bool', 'int', 'double', 'string'
final String description;
const ServiceSettingDto({
required this.key,
required this.value,
this.type = 'string',
this.description = '',
});
@@ -13,6 +15,7 @@ class ServiceSettingDto {
return ServiceSettingDto(
key: json['key']?.toString() ?? '',
value: json['value']?.toString() ?? '',
type: json['dataType']?.toString() ?? json['type']?.toString() ?? 'string',
description: json['description']?.toString() ?? '',
);
}
@@ -21,6 +24,7 @@ class ServiceSettingDto {
return {
'key': key,
'value': value,
'type': type,
'description': description,
};
}