JobResources constructor

JobResources({
  1. MemoryResource? memory,
  2. JobFeatures? features,
})

Implementation

factory JobResources({
  MemoryResource? memory,
  JobFeatures? features,
}) {
  final _result = create();
  if (memory != null) {
    _result.memory = memory;
  }
  if (features != null) {
    _result.features = features;
  }
  return _result;
}