execute method

Future<String?> execute(
  1. BuildContext context
)

Evaluates the condition in the current context.

Returns:

  • null if the condition passes
  • an error message string if the condition fails

Implementation

Future<String?> execute(BuildContext context) async {
  return configuration?.execute(context);
}