copyWith method

ConditionParameterCubitVariable copyWith({
  1. ID? cubitID,
  2. ID? stateID,
  3. ID? variableID,
  4. int? listIndex,
  5. FormatOptionsHelper? formatOptionsHelper,
})

Implementation

ConditionParameterCubitVariable copyWith({
  ID? cubitID,
  ID? stateID,
  ID? variableID,
  int? listIndex,
  FormatOptionsHelper? formatOptionsHelper,
}) {
  return ConditionParameterCubitVariable(
    cubitID: cubitID ?? this.cubitID,
    stateID: stateID ?? this.stateID,
    variableID: variableID ?? this.variableID,
    listIndex: listIndex ?? this.listIndex,
    formatOptionsHelper: formatOptionsHelper ?? this.formatOptionsHelper,
  );
}