createAndSendResult method

  1. @override
void createAndSendResult()
override

This method should be implemented in all the Widgets which are producing an RPResult object.

Implementation

@override
void createAndSendResult() {
  // Populate the result object with value and end the time tracker (set endDate)
  result?.setFinalResult(_currentActivityBodyResult);
  blocTask.sendStepResult(result!);
}