FFLoopOverList constructor

FFLoopOverList({
  1. FFVariable? list,
  2. FFIntegerValue? startIndex,
  3. FFIntegerValue? endIndex,
  4. FFIntegerValue? step,
  5. FFActionNode? action,
  6. FFBooleanValue? isReversed,
  7. @Deprecated('This field is deprecated.') int? loopIndex,
  8. String? key,
})

Implementation

factory FFLoopOverList({
  FFVariable? list,
  FFIntegerValue? startIndex,
  FFIntegerValue? endIndex,
  FFIntegerValue? step,
  FFActionNode? action,
  FFBooleanValue? isReversed,
  @$core.Deprecated('This field is deprecated.') $core.int? loopIndex,
  $core.String? key,
}) {
  final result = create();
  if (list != null) result.list = list;
  if (startIndex != null) result.startIndex = startIndex;
  if (endIndex != null) result.endIndex = endIndex;
  if (step != null) result.step = step;
  if (action != null) result.action = action;
  if (isReversed != null) result.isReversed = isReversed;
  if (loopIndex != null) result.loopIndex = loopIndex;
  if (key != null) result.key = key;
  return result;
}