Device constructor
Device({
- List<
int> ? id, - List<
int> ? hardwareId, - String? hardwareFqdn,
- DeviceConfig? config,
- DeviceStatus? status,
- bool? isSimulator,
- DeviceAction? nextAction,
Implementation
factory Device({
$core.List<$core.int>? id,
$core.List<$core.int>? hardwareId,
$core.String? hardwareFqdn,
$1.DeviceConfig? config,
$1.DeviceStatus? status,
$core.bool? isSimulator,
$1.DeviceAction? nextAction,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (hardwareId != null) {
_result.hardwareId = hardwareId;
}
if (hardwareFqdn != null) {
_result.hardwareFqdn = hardwareFqdn;
}
if (config != null) {
_result.config = config;
}
if (status != null) {
_result.status = status;
}
if (isSimulator != null) {
_result.isSimulator = isSimulator;
}
if (nextAction != null) {
_result.nextAction = nextAction;
}
return _result;
}