execute method
Evaluates this condition configuration.
The context
parameter provides access to the widget tree.
Returns:
- null if the condition passes
- an error message string if the condition fails
Implementation
@override
Future<String?> execute(BuildContext context) async {
if (evaluationDelayInSeconds > 0) {
await Future.delayed(Duration(seconds: evaluationDelayInSeconds));
}
return value.toString();
}