LoraAdapterImportResult constructor

LoraAdapterImportResult({
  1. bool? success,
  2. String? errorMessage,
  3. String? localPath,
  4. bool? matched,
  5. LoraAdapterCatalogEntry? entry,
})

Implementation

factory LoraAdapterImportResult({
  $core.bool? success,
  $core.String? errorMessage,
  $core.String? localPath,
  $core.bool? matched,
  LoraAdapterCatalogEntry? entry,
}) {
  final result = create();
  if (success != null) result.success = success;
  if (errorMessage != null) result.errorMessage = errorMessage;
  if (localPath != null) result.localPath = localPath;
  if (matched != null) result.matched = matched;
  if (entry != null) result.entry = entry;
  return result;
}