copyWith method

Implementation

WebApiModulesAccountServicesAccountAccountControllerGetSessionResponse
copyWith({
  WebApiLogicAppFuncSessionLocation? location,
  WebApiLogicAppFuncSessionWarehouse? warehouse,
  WebApiLogicAppFuncSessionDepartment? department,
  WebApiLogicAppFuncSessionUser? webUser,
  WebApiLogicAppFuncSessionDeal? deal,
  FwStandardAppManagerFwAmSecurityTreeNode? applicationtree,
  dynamic applicationOptions,
  String? clientcode,
  String? serverVersion,
  WebApiModulesAccountServicesAccountSystemSettingsResponse? systemSettings,
  dynamic plugins,
}) {
  return WebApiModulesAccountServicesAccountAccountControllerGetSessionResponse(
    location: location ?? this.location,
    warehouse: warehouse ?? this.warehouse,
    department: department ?? this.department,
    webUser: webUser ?? this.webUser,
    deal: deal ?? this.deal,
    applicationtree: applicationtree ?? this.applicationtree,
    applicationOptions: applicationOptions ?? this.applicationOptions,
    clientcode: clientcode ?? this.clientcode,
    serverVersion: serverVersion ?? this.serverVersion,
    systemSettings: systemSettings ?? this.systemSettings,
    plugins: plugins ?? this.plugins,
  );
}