copyWith method

WebApiModulesSettingsSpaceSpace copyWith({
  1. String? spaceId,
  2. String? buildingId,
  3. String? building,
  4. String? floorId,
  5. String? floor,
  6. String? space,
  7. int? orderBy,
  8. String? buildingSpace,
  9. String? buildingFloorSpace,
  10. double? squareFeet,
  11. String? spaceFromDate,
  12. String? spaceToDate,
  13. bool? commonSquareFeet,
  14. String? primaryDimensionId,
  15. int? widthFt,
  16. int? heightFt,
  17. int? lengthFt,
  18. int? occupancy,
  19. bool? inactive,
  20. String? auditNote,
  21. String? recordTitle,
  22. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  23. List<FwStandardDataFwCustomValue>? custom,
  24. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  25. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsSpaceSpace copyWith(
    {String? spaceId,
    String? buildingId,
    String? building,
    String? floorId,
    String? floor,
    String? space,
    int? orderBy,
    String? buildingSpace,
    String? buildingFloorSpace,
    double? squareFeet,
    String? spaceFromDate,
    String? spaceToDate,
    bool? commonSquareFeet,
    String? primaryDimensionId,
    int? widthFt,
    int? heightFt,
    int? lengthFt,
    int? occupancy,
    bool? inactive,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsSpaceSpace(
      spaceId: spaceId ?? this.spaceId,
      buildingId: buildingId ?? this.buildingId,
      building: building ?? this.building,
      floorId: floorId ?? this.floorId,
      floor: floor ?? this.floor,
      space: space ?? this.space,
      orderBy: orderBy ?? this.orderBy,
      buildingSpace: buildingSpace ?? this.buildingSpace,
      buildingFloorSpace: buildingFloorSpace ?? this.buildingFloorSpace,
      squareFeet: squareFeet ?? this.squareFeet,
      spaceFromDate: spaceFromDate ?? this.spaceFromDate,
      spaceToDate: spaceToDate ?? this.spaceToDate,
      commonSquareFeet: commonSquareFeet ?? this.commonSquareFeet,
      primaryDimensionId: primaryDimensionId ?? this.primaryDimensionId,
      widthFt: widthFt ?? this.widthFt,
      heightFt: heightFt ?? this.heightFt,
      lengthFt: lengthFt ?? this.lengthFt,
      occupancy: occupancy ?? this.occupancy,
      inactive: inactive ?? this.inactive,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}