Status constructor

Status({
  1. int? positionDeg,
  2. bool? isMoving,
})

Implementation

factory Status({
  $core.int? positionDeg,
  $core.bool? isMoving,
}) {
  final $result = create();
  if (positionDeg != null) {
    $result.positionDeg = positionDeg;
  }
  if (isMoving != null) {
    $result.isMoving = isMoving;
  }
  return $result;
}