execute method

  1. @override
Future<WTResult> execute()
override

Executes the Walking Test (WT) and returns the result.

Completes the CancelableCompleter with the result of performWT.

Implementation

@override
Future<WTResult> execute() {
  if (!completer.isCompleted) {
    completer.complete(performWT());
  }
  return completer.operation.value;
}