RuntimeAcceleratorConfig constructor

RuntimeAcceleratorConfig({
  1. RuntimeAcceleratorConfig_AcceleratorType? type,
  2. Int64? coreCount,
})

Implementation

factory RuntimeAcceleratorConfig({
  RuntimeAcceleratorConfig_AcceleratorType? type,
  $fixnum.Int64? coreCount,
}) {
  final $result = create();
  if (type != null) {
    $result.type = type;
  }
  if (coreCount != null) {
    $result.coreCount = coreCount;
  }
  return $result;
}