copyWith method

CustomLLM copyWith({
  1. String? url,
  2. dynamic modelId,
  3. dynamic apiKey,
})

Implementation

CustomLLM copyWith({String? url, dynamic modelId, dynamic apiKey}) {
  return CustomLLM(
      url: url ?? this.url,
      modelId: modelId ?? this.modelId,
      apiKey: apiKey ?? this.apiKey);
}