UpdateMLModelMetadata constructor

UpdateMLModelMetadata({
  1. ModelType? modelType,
  2. ModelFramework? modelFramework,
  3. Iterable<String>? deploymentModularResources,
})

Implementation

factory UpdateMLModelMetadata({
  $11.ModelType? modelType,
  $11.ModelFramework? modelFramework,
  $core.Iterable<$core.String>? deploymentModularResources,
}) {
  final $result = create();
  if (modelType != null) {
    $result.modelType = modelType;
  }
  if (modelFramework != null) {
    $result.modelFramework = modelFramework;
  }
  if (deploymentModularResources != null) {
    $result.deploymentModularResources.addAll(deploymentModularResources);
  }
  return $result;
}