onTrialEnd abstract method

Future<void> onTrialEnd({
  1. required Trial trial,
  2. required Transcript transcript,
  3. required Outcome outcome,
  4. required List<Score> scores,
})

Called when trial finishes with the final transcript, outcome, and scores. Implementations should attach all scores here.

Implementation

Future<void> onTrialEnd({
  required Trial trial,
  required Transcript transcript,
  required Outcome outcome,
  required List<Score> scores,
});