MLTrainingMetadata constructor
- ModelType? modelType,
- ModelFramework? modelFramework,
- bool? draft,
- Iterable<
MLTrainingVersion> ? versions,
Implementation
factory MLTrainingMetadata({
$7.ModelType? modelType,
$7.ModelFramework? modelFramework,
$core.bool? draft,
$core.Iterable<MLTrainingVersion>? versions,
}) {
final $result = create();
if (modelType != null) {
$result.modelType = modelType;
}
if (modelFramework != null) {
$result.modelFramework = modelFramework;
}
if (draft != null) {
$result.draft = draft;
}
if (versions != null) {
$result.versions.addAll(versions);
}
return $result;
}