FFLoopOverList constructor
FFLoopOverList({
- FFVariable? list,
- FFIntegerValue? startIndex,
- FFIntegerValue? endIndex,
- FFIntegerValue? step,
- FFActionNode? action,
- FFBooleanValue? isReversed,
- @Deprecated('This field is deprecated.') int? loopIndex,
- 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;
}