DeviceSubsystemConfig constructor

DeviceSubsystemConfig({
  1. SubsystemUpdateInfo? updateInfo,
  2. bool? disable,
  3. bool? forceRestart,
  4. Struct? attributes,
})

Implementation

factory DeviceSubsystemConfig({
  SubsystemUpdateInfo? updateInfo,
  $core.bool? disable,
  $core.bool? forceRestart,
  $43.Struct? attributes,
}) {
  final $result = create();
  if (updateInfo != null) {
    $result.updateInfo = updateInfo;
  }
  if (disable != null) {
    $result.disable = disable;
  }
  if (forceRestart != null) {
    $result.forceRestart = forceRestart;
  }
  if (attributes != null) {
    $result.attributes = attributes;
  }
  return $result;
}