LoraApplyRequest constructor

LoraApplyRequest({
  1. String? requestId,
  2. Iterable<LoraAdapterConfig>? adapters,
  3. bool? keepExisting,
})

Implementation

factory LoraApplyRequest({
  $core.String? requestId,
  $core.Iterable<LoraAdapterConfig>? adapters,
  $core.bool? keepExisting,
}) {
  final result = create();
  if (requestId != null) result.requestId = requestId;
  if (adapters != null) result.adapters.addAll(adapters);
  if (keepExisting != null) result.keepExisting = keepExisting;
  return result;
}