FFLoopOverListVariable constructor

FFLoopOverListVariable({
  1. FFVariable? listVariable,
  2. @Deprecated('This field is deprecated.') int? loopIndex,
  3. @Deprecated('This field is deprecated.') String? loopName,
  4. FFLoopOverListKeyReference? loopOverListKeyRef,
  5. FFActionNodeKeyReference? actionNodeKeyRef,
})

Implementation

factory FFLoopOverListVariable({
  FFVariable? listVariable,
  @$core.Deprecated('This field is deprecated.') $core.int? loopIndex,
  @$core.Deprecated('This field is deprecated.') $core.String? loopName,
  FFLoopOverListKeyReference? loopOverListKeyRef,
  FFActionNodeKeyReference? actionNodeKeyRef,
}) {
  final result = create();
  if (listVariable != null) result.listVariable = listVariable;
  if (loopIndex != null) result.loopIndex = loopIndex;
  if (loopName != null) result.loopName = loopName;
  if (loopOverListKeyRef != null)
    result.loopOverListKeyRef = loopOverListKeyRef;
  if (actionNodeKeyRef != null) result.actionNodeKeyRef = actionNodeKeyRef;
  return result;
}