onTrialEnd method
Future<void>
onTrialEnd({
- required Trial trial,
- required Transcript transcript,
- required Outcome outcome,
- required List<
Score> scores,
override
Called when trial finishes with the final transcript, outcome, and scores. Implementations should attach all scores here.
Implementation
@override
Future<void> onTrialEnd({
required Trial trial,
required Transcript transcript,
required Outcome outcome,
required List<Score> scores,
}) => _broadcast(
(e) => e.onTrialEnd(
trial: trial,
transcript: transcript,
outcome: outcome,
scores: scores,
),
);