CostSummary constructor

const CostSummary({
  1. required double totalCost,
  2. double? costPerInputToken,
  3. double? costPerOutputToken,
  4. int? inputTokens,
  5. int? outputTokens,
  6. String? provider,
  7. String? model,
})

Creates a CostSummary

Implementation

const CostSummary({
  required this.totalCost,
  this.costPerInputToken,
  this.costPerOutputToken,
  this.inputTokens,
  this.outputTokens,
  this.provider,
  this.model,
});