copyWith method

WebApiModulesHomeControlsInventorySearchInventorySearchGetTotalResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. double? totalQuantityInSession,
})

Implementation

WebApiModulesHomeControlsInventorySearchInventorySearchGetTotalResponse
    copyWith(
        {int? status,
        bool? success,
        String? msg,
        double? totalQuantityInSession}) {
  return WebApiModulesHomeControlsInventorySearchInventorySearchGetTotalResponse(
      status: status ?? this.status,
      success: success ?? this.success,
      msg: msg ?? this.msg,
      totalQuantityInSession:
          totalQuantityInSession ?? this.totalQuantityInSession);
}