GetPropertiesResponse constructor
GetPropertiesResponse({ - bool? linearVelocitySupported,
- bool? angularVelocitySupported,
- bool? orientationSupported,
- bool? positionSupported,
- bool? compassHeadingSupported,
- bool? linearAccelerationSupported,
})
Implementation
factory GetPropertiesResponse({
$core.bool? linearVelocitySupported,
$core.bool? angularVelocitySupported,
$core.bool? orientationSupported,
$core.bool? positionSupported,
$core.bool? compassHeadingSupported,
$core.bool? linearAccelerationSupported,
}) {
final $result = create();
if (linearVelocitySupported != null) {
$result.linearVelocitySupported = linearVelocitySupported;
}
if (angularVelocitySupported != null) {
$result.angularVelocitySupported = angularVelocitySupported;
}
if (orientationSupported != null) {
$result.orientationSupported = orientationSupported;
}
if (positionSupported != null) {
$result.positionSupported = positionSupported;
}
if (compassHeadingSupported != null) {
$result.compassHeadingSupported = compassHeadingSupported;
}
if (linearAccelerationSupported != null) {
$result.linearAccelerationSupported = linearAccelerationSupported;
}
return $result;
}