GoToRequest constructor

GoToRequest({
  1. String? name,
  2. double? rpm,
  3. double? positionRevolutions,
  4. Struct? extra,
})

Implementation

factory GoToRequest({
  $core.String? name,
  $core.double? rpm,
  $core.double? positionRevolutions,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (rpm != null) {
    $result.rpm = rpm;
  }
  if (positionRevolutions != null) {
    $result.positionRevolutions = positionRevolutions;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}