copyWith method

WebApiModulesHomeControlsPickListUtilityItemCompleteSessionResponse copyWith({
  1. String? pickListId,
  2. String? pickListNumber,
  3. int? status,
  4. bool? success,
  5. String? msg,
})

Implementation

WebApiModulesHomeControlsPickListUtilityItemCompleteSessionResponse copyWith(
    {String? pickListId,
    String? pickListNumber,
    int? status,
    bool? success,
    String? msg}) {
  return WebApiModulesHomeControlsPickListUtilityItemCompleteSessionResponse(
      pickListId: pickListId ?? this.pickListId,
      pickListNumber: pickListNumber ?? this.pickListNumber,
      status: status ?? this.status,
      success: success ?? this.success,
      msg: msg ?? this.msg);
}