This commit is contained in:
2025-04-14 12:04:14 +02:00
parent fb5f6a240d
commit 40ca7dd72f

View File

@@ -103,6 +103,9 @@ class AstromicFormController extends FormController {
}
}
/// Get all the hosted values IDs.
List<String> get allValuesIDs => List<String>.from(_hostedValues.entries.map((MapEntry<String, (dynamic, bool)> entry) => entry.key));
/// Get the value of a hosted state variable using it's ID.
T? getValue<T>(String id) {
prepareValue(id, false);