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. dynamic urlIdentifier,
  23. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  24. List<FwStandardDataFwCustomValue>? custom,
  25. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  26. FwStandardBusinessLogicFwBusinessLogic? original,
  27. List<FwStandardDataFwTranslatedValue>? translation,
  28. bool? hasImport,
  29. bool? hasDocuments,
  30. String? createdByUserId,
  31. String? createdByUserName,
  32. String? createdDateTime,
  33. String? modifiedByUserId,
  34. String? modifiedByUserName,
  35. String? modifiedDateTime,
})

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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}