GetPropertiesResponse constructor

GetPropertiesResponse({
  1. bool? linearVelocitySupported,
  2. bool? angularVelocitySupported,
  3. bool? orientationSupported,
  4. bool? positionSupported,
  5. bool? compassHeadingSupported,
  6. 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;
}