MoveStraightRequest constructor

MoveStraightRequest({
  1. String? name,
  2. Int64? distanceMm,
  3. double? mmPerSec,
  4. Struct? extra,
})

Implementation

factory MoveStraightRequest({
  $core.String? name,
  $fixnum.Int64? distanceMm,
  $core.double? mmPerSec,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (distanceMm != null) {
    $result.distanceMm = distanceMm;
  }
  if (mmPerSec != null) {
    $result.mmPerSec = mmPerSec;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}