Device constructor
Implementation
factory Device({
$core.String? name,
$core.String? version,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (version != null) {
$result.version = version;
}
return $result;
}