copyWith method

LLMUsageCalculatorRequestModel copyWith({
  1. dynamic promptLength,
  2. dynamic numberOfPages,
  3. dynamic ragEnabled,
})

Implementation

LLMUsageCalculatorRequestModel copyWith(
    {dynamic promptLength, dynamic numberOfPages, dynamic ragEnabled}) {
  return LLMUsageCalculatorRequestModel(
      promptLength: promptLength ?? this.promptLength,
      numberOfPages: numberOfPages ?? this.numberOfPages,
      ragEnabled: ragEnabled ?? this.ragEnabled);
}