@override Object toJson() => { if (aggregationOutput case final aggregationOutput?) 'aggregationOutput': aggregationOutput.toJson(), if (outputInfo case final outputInfo?) 'outputInfo': outputInfo.toJson(), };