copyWith method

WebApiModulesInventoryInventoryRetireInventoryResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. String? retiredId,
})

Implementation

WebApiModulesInventoryInventoryRetireInventoryResponse copyWith(
    {int? status, bool? success, String? msg, String? retiredId}) {
  return WebApiModulesInventoryInventoryRetireInventoryResponse(
      status: status ?? this.status,
      success: success ?? this.success,
      msg: msg ?? this.msg,
      retiredId: retiredId ?? this.retiredId);
}