MLModelMetadata constructor

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

Implementation

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