RwFactOld constructor

RwFactOld({
  1. int? version,
  2. int? id,
  3. int? repetition,
  4. int? nextInterval,
  5. int? nextRepeatDay,
  6. int? fails,
  7. bool? bothDirectionsAllowed,
  8. bool? actualLeft,
})

Implementation

factory RwFactOld({
  $core.int? version,
  $core.int? id,
  $core.int? repetition,
  $core.int? nextInterval,
  $core.int? nextRepeatDay,
  $core.int? fails,
  $core.bool? bothDirectionsAllowed,
  $core.bool? actualLeft,
}) {
  final _result = create();
  if (version != null) {
    _result.version = version;
  }
  if (id != null) {
    _result.id = id;
  }
  if (repetition != null) {
    _result.repetition = repetition;
  }
  if (nextInterval != null) {
    _result.nextInterval = nextInterval;
  }
  if (nextRepeatDay != null) {
    _result.nextRepeatDay = nextRepeatDay;
  }
  if (fails != null) {
    _result.fails = fails;
  }
  if (bothDirectionsAllowed != null) {
    _result.bothDirectionsAllowed = bothDirectionsAllowed;
  }
  if (actualLeft != null) {
    _result.actualLeft = actualLeft;
  }
  return _result;
}