diff --git a/lib/src/form/src/controller.dart b/lib/src/form/src/controller.dart index ee9cf15..a09c1e5 100644 --- a/lib/src/form/src/controller.dart +++ b/lib/src/form/src/controller.dart @@ -103,6 +103,9 @@ class AstromicFormController extends FormController { } } + /// Get all the hosted values IDs. + List get allValuesIDs => List.from(_hostedValues.entries.map((MapEntry entry) => entry.key)); + /// Get the value of a hosted state variable using it's ID. T? getValue(String id) { prepareValue(id, false);