copyWith method

AssingVariableFromVariable copyWith({
  1. ID? cubitID,
  2. ID? stateID,
  3. ID? variableID,
  4. String? jsonKey,
  5. ID? assigningVariableID,
  6. ID? assigningCubitID,
  7. ID? assigningStateID,
  8. int? targetIndex,
  9. FormatOptionsHelper? formatOptions,
})

Implementation

AssingVariableFromVariable copyWith({
  ID? cubitID,
  ID? stateID,
  ID? variableID,
  String? jsonKey,
  ID? assigningVariableID,
  ID? assigningCubitID,
  ID? assigningStateID,
  int? targetIndex,
  FormatOptionsHelper? formatOptions,
}) {
  return AssingVariableFromVariable(
    id: id,
    cubitID: cubitID ?? this.cubitID,
    stateID: stateID ?? this.stateID,
    variableID: variableID ?? this.variableID,
    type: type,
    jsonKey: jsonKey ?? this.jsonKey,
    assigningVariableID: assigningVariableID ?? this.assigningVariableID,
    assigningCubitID: assigningCubitID ?? this.assigningCubitID,
    assigningStateID: assigningStateID ?? this.assigningStateID,
    targetIndex: targetIndex ?? this.targetIndex,
    formatOptions: formatOptions ?? this.formatOptions,
  );
}