DiscoveredModel constructor
DiscoveredModel({})
Implementation
factory DiscoveredModel({
$core.String? modelId,
$core.String? localPath,
$core.bool? matchedRegistry,
ModelInfo? model,
$fixnum.Int64? sizeBytes,
$core.Iterable<$core.String>? warnings,
}) {
final result = create();
if (modelId != null) result.modelId = modelId;
if (localPath != null) result.localPath = localPath;
if (matchedRegistry != null) result.matchedRegistry = matchedRegistry;
if (model != null) result.model = model;
if (sizeBytes != null) result.sizeBytes = sizeBytes;
if (warnings != null) result.warnings.addAll(warnings);
return result;
}