copyWith method

WebApiModulesHomeControlsPickListUtilityItemStartSessionResponse copyWith({
  1. String? sessionId,
  2. String? inventoryTypes,
  3. String? inventoryTypeIds,
  4. int? status,
  5. bool? success,
  6. String? msg,
})

Implementation

WebApiModulesHomeControlsPickListUtilityItemStartSessionResponse copyWith(
    {String? sessionId,
    String? inventoryTypes,
    String? inventoryTypeIds,
    int? status,
    bool? success,
    String? msg}) {
  return WebApiModulesHomeControlsPickListUtilityItemStartSessionResponse(
      sessionId: sessionId ?? this.sessionId,
      inventoryTypes: inventoryTypes ?? this.inventoryTypes,
      inventoryTypeIds: inventoryTypeIds ?? this.inventoryTypeIds,
      status: status ?? this.status,
      success: success ?? this.success,
      msg: msg ?? this.msg);
}