DeviceAgentConfigResponse constructor

DeviceAgentConfigResponse({
  1. Map<String, DeviceSubsystemConfig>? subsystemConfigs,
  2. Duration? checkInterval,
})

Implementation

factory DeviceAgentConfigResponse({
  $core.Map<$core.String, DeviceSubsystemConfig>? subsystemConfigs,
  $42.Duration? checkInterval,
}) {
  final $result = create();
  if (subsystemConfigs != null) {
    $result.subsystemConfigs.addAll(subsystemConfigs);
  }
  if (checkInterval != null) {
    $result.checkInterval = checkInterval;
  }
  return $result;
}