HardwareProfileResult constructor
HardwareProfileResult({
- HardwareProfile? profile,
- Iterable<
AcceleratorInfo> ? accelerators,
Implementation
factory HardwareProfileResult({
HardwareProfile? profile,
$core.Iterable<AcceleratorInfo>? accelerators,
}) {
final result = create();
if (profile != null) result.profile = profile;
if (accelerators != null) result.accelerators.addAll(accelerators);
return result;
}