StructuredOutputResult<T> constructor

const StructuredOutputResult<T>({
  1. required T result,
  2. required String rawText,
  3. required int inputTokens,
  4. required int tokensUsed,
  5. required double latencyMs,
  6. required double tokensPerSecond,
})

Implementation

const StructuredOutputResult({
  required this.result,
  required this.rawText,
  required this.inputTokens,
  required this.tokensUsed,
  required this.latencyMs,
  required this.tokensPerSecond,
});