copyWith method

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

Implementation

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