// GENERATED CODE - DO NOT MODIFY BY HAND part of 'isar_controller.dart'; // ************************************************************************** // IsarCollectionGenerator // ************************************************************************** // coverage:ignore-file // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types extension GetSettingsCollection on Isar { IsarCollection get settings => this.collection(); } const SettingsSchema = CollectionSchema( name: r'Settings', id: -8656046621518759136, properties: { r'femaleToilets': PropertySchema( id: 0, name: r'femaleToilets', type: IsarType.bool, ), r'handicapToilets': PropertySchema( id: 1, name: r'handicapToilets', type: IsarType.bool, ), r'maleToilets': PropertySchema( id: 2, name: r'maleToilets', type: IsarType.bool, ), r'showComputerPools': PropertySchema( id: 3, name: r'showComputerPools', type: IsarType.bool, ), r'showDoors': PropertySchema( id: 4, name: r'showDoors', type: IsarType.bool, ), r'showElevators': PropertySchema( id: 5, name: r'showElevators', type: IsarType.bool, ), r'showFoodAndDrink': PropertySchema( id: 6, name: r'showFoodAndDrink', type: IsarType.bool, ), r'showIcons': PropertySchema( id: 7, name: r'showIcons', type: IsarType.bool, ), r'showLectureHalls': PropertySchema( id: 8, name: r'showLectureHalls', type: IsarType.bool, ), r'showSeminarRooms': PropertySchema( id: 9, name: r'showSeminarRooms', type: IsarType.bool, ), r'showStairs': PropertySchema( id: 10, name: r'showStairs', type: IsarType.bool, ), r'showToilets': PropertySchema( id: 11, name: r'showToilets', type: IsarType.bool, ) }, estimateSize: _settingsEstimateSize, serialize: _settingsSerialize, deserialize: _settingsDeserialize, deserializeProp: _settingsDeserializeProp, idName: r'id', indexes: {}, links: {}, embeddedSchemas: {}, getId: _settingsGetId, getLinks: _settingsGetLinks, attach: _settingsAttach, version: '3.1.0+1', ); int _settingsEstimateSize( Settings object, List offsets, Map> allOffsets, ) { var bytesCount = offsets.last; return bytesCount; } void _settingsSerialize( Settings object, IsarWriter writer, List offsets, Map> allOffsets, ) { writer.writeBool(offsets[0], object.femaleToilets); writer.writeBool(offsets[1], object.handicapToilets); writer.writeBool(offsets[2], object.maleToilets); writer.writeBool(offsets[3], object.showComputerPools); writer.writeBool(offsets[4], object.showDoors); writer.writeBool(offsets[5], object.showElevators); writer.writeBool(offsets[6], object.showFoodAndDrink); writer.writeBool(offsets[7], object.showIcons); writer.writeBool(offsets[8], object.showLectureHalls); writer.writeBool(offsets[9], object.showSeminarRooms); writer.writeBool(offsets[10], object.showStairs); writer.writeBool(offsets[11], object.showToilets); } Settings _settingsDeserialize( Id id, IsarReader reader, List offsets, Map> allOffsets, ) { final object = Settings(); object.femaleToilets = reader.readBool(offsets[0]); object.handicapToilets = reader.readBool(offsets[1]); object.id = id; object.maleToilets = reader.readBool(offsets[2]); object.showComputerPools = reader.readBool(offsets[3]); object.showDoors = reader.readBool(offsets[4]); object.showElevators = reader.readBool(offsets[5]); object.showFoodAndDrink = reader.readBool(offsets[6]); object.showIcons = reader.readBool(offsets[7]); object.showLectureHalls = reader.readBool(offsets[8]); object.showSeminarRooms = reader.readBool(offsets[9]); object.showStairs = reader.readBool(offsets[10]); object.showToilets = reader.readBool(offsets[11]); return object; } P _settingsDeserializeProp

( IsarReader reader, int propertyId, int offset, Map> allOffsets, ) { switch (propertyId) { case 0: return (reader.readBool(offset)) as P; case 1: return (reader.readBool(offset)) as P; case 2: return (reader.readBool(offset)) as P; case 3: return (reader.readBool(offset)) as P; case 4: return (reader.readBool(offset)) as P; case 5: return (reader.readBool(offset)) as P; case 6: return (reader.readBool(offset)) as P; case 7: return (reader.readBool(offset)) as P; case 8: return (reader.readBool(offset)) as P; case 9: return (reader.readBool(offset)) as P; case 10: return (reader.readBool(offset)) as P; case 11: return (reader.readBool(offset)) as P; default: throw IsarError('Unknown property with id $propertyId'); } } Id _settingsGetId(Settings object) { return object.id; } List> _settingsGetLinks(Settings object) { return []; } void _settingsAttach(IsarCollection col, Id id, Settings object) { object.id = id; } extension SettingsQueryWhereSort on QueryBuilder { QueryBuilder anyId() { return QueryBuilder.apply(this, (query) { return query.addWhereClause(const IdWhereClause.any()); }); } } extension SettingsQueryWhere on QueryBuilder { QueryBuilder idEqualTo(Id id) { return QueryBuilder.apply(this, (query) { return query.addWhereClause(IdWhereClause.between( lower: id, upper: id, )); }); } QueryBuilder idNotEqualTo(Id id) { return QueryBuilder.apply(this, (query) { if (query.whereSort == Sort.asc) { return query .addWhereClause( IdWhereClause.lessThan(upper: id, includeUpper: false), ) .addWhereClause( IdWhereClause.greaterThan(lower: id, includeLower: false), ); } else { return query .addWhereClause( IdWhereClause.greaterThan(lower: id, includeLower: false), ) .addWhereClause( IdWhereClause.lessThan(upper: id, includeUpper: false), ); } }); } QueryBuilder idGreaterThan(Id id, {bool include = false}) { return QueryBuilder.apply(this, (query) { return query.addWhereClause( IdWhereClause.greaterThan(lower: id, includeLower: include), ); }); } QueryBuilder idLessThan(Id id, {bool include = false}) { return QueryBuilder.apply(this, (query) { return query.addWhereClause( IdWhereClause.lessThan(upper: id, includeUpper: include), ); }); } QueryBuilder idBetween( Id lowerId, Id upperId, { bool includeLower = true, bool includeUpper = true, }) { return QueryBuilder.apply(this, (query) { return query.addWhereClause(IdWhereClause.between( lower: lowerId, includeLower: includeLower, upper: upperId, includeUpper: includeUpper, )); }); } } extension SettingsQueryFilter on QueryBuilder { QueryBuilder femaleToiletsEqualTo( bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'femaleToilets', value: value, )); }); } QueryBuilder handicapToiletsEqualTo(bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'handicapToilets', value: value, )); }); } QueryBuilder idEqualTo(Id value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'id', value: value, )); }); } QueryBuilder idGreaterThan( Id value, { bool include = false, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'id', value: value, )); }); } QueryBuilder idLessThan( Id value, { bool include = false, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'id', value: value, )); }); } QueryBuilder idBetween( Id lower, Id upper, { bool includeLower = true, bool includeUpper = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'id', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, )); }); } QueryBuilder maleToiletsEqualTo( bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'maleToilets', value: value, )); }); } QueryBuilder showComputerPoolsEqualTo(bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showComputerPools', value: value, )); }); } QueryBuilder showDoorsEqualTo( bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showDoors', value: value, )); }); } QueryBuilder showElevatorsEqualTo( bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showElevators', value: value, )); }); } QueryBuilder showFoodAndDrinkEqualTo(bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showFoodAndDrink', value: value, )); }); } QueryBuilder showIconsEqualTo( bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showIcons', value: value, )); }); } QueryBuilder showLectureHallsEqualTo(bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showLectureHalls', value: value, )); }); } QueryBuilder showSeminarRoomsEqualTo(bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showSeminarRooms', value: value, )); }); } QueryBuilder showStairsEqualTo( bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showStairs', value: value, )); }); } QueryBuilder showToiletsEqualTo( bool value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'showToilets', value: value, )); }); } } extension SettingsQueryObject on QueryBuilder {} extension SettingsQueryLinks on QueryBuilder {} extension SettingsQuerySortBy on QueryBuilder { QueryBuilder sortByFemaleToilets() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'femaleToilets', Sort.asc); }); } QueryBuilder sortByFemaleToiletsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'femaleToilets', Sort.desc); }); } QueryBuilder sortByHandicapToilets() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'handicapToilets', Sort.asc); }); } QueryBuilder sortByHandicapToiletsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'handicapToilets', Sort.desc); }); } QueryBuilder sortByMaleToilets() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'maleToilets', Sort.asc); }); } QueryBuilder sortByMaleToiletsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'maleToilets', Sort.desc); }); } QueryBuilder sortByShowComputerPools() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showComputerPools', Sort.asc); }); } QueryBuilder sortByShowComputerPoolsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showComputerPools', Sort.desc); }); } QueryBuilder sortByShowDoors() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showDoors', Sort.asc); }); } QueryBuilder sortByShowDoorsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showDoors', Sort.desc); }); } QueryBuilder sortByShowElevators() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showElevators', Sort.asc); }); } QueryBuilder sortByShowElevatorsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showElevators', Sort.desc); }); } QueryBuilder sortByShowFoodAndDrink() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showFoodAndDrink', Sort.asc); }); } QueryBuilder sortByShowFoodAndDrinkDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showFoodAndDrink', Sort.desc); }); } QueryBuilder sortByShowIcons() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showIcons', Sort.asc); }); } QueryBuilder sortByShowIconsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showIcons', Sort.desc); }); } QueryBuilder sortByShowLectureHalls() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showLectureHalls', Sort.asc); }); } QueryBuilder sortByShowLectureHallsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showLectureHalls', Sort.desc); }); } QueryBuilder sortByShowSeminarRooms() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showSeminarRooms', Sort.asc); }); } QueryBuilder sortByShowSeminarRoomsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showSeminarRooms', Sort.desc); }); } QueryBuilder sortByShowStairs() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showStairs', Sort.asc); }); } QueryBuilder sortByShowStairsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showStairs', Sort.desc); }); } QueryBuilder sortByShowToilets() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showToilets', Sort.asc); }); } QueryBuilder sortByShowToiletsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showToilets', Sort.desc); }); } } extension SettingsQuerySortThenBy on QueryBuilder { QueryBuilder thenByFemaleToilets() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'femaleToilets', Sort.asc); }); } QueryBuilder thenByFemaleToiletsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'femaleToilets', Sort.desc); }); } QueryBuilder thenByHandicapToilets() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'handicapToilets', Sort.asc); }); } QueryBuilder thenByHandicapToiletsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'handicapToilets', Sort.desc); }); } QueryBuilder thenById() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'id', Sort.asc); }); } QueryBuilder thenByIdDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'id', Sort.desc); }); } QueryBuilder thenByMaleToilets() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'maleToilets', Sort.asc); }); } QueryBuilder thenByMaleToiletsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'maleToilets', Sort.desc); }); } QueryBuilder thenByShowComputerPools() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showComputerPools', Sort.asc); }); } QueryBuilder thenByShowComputerPoolsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showComputerPools', Sort.desc); }); } QueryBuilder thenByShowDoors() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showDoors', Sort.asc); }); } QueryBuilder thenByShowDoorsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showDoors', Sort.desc); }); } QueryBuilder thenByShowElevators() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showElevators', Sort.asc); }); } QueryBuilder thenByShowElevatorsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showElevators', Sort.desc); }); } QueryBuilder thenByShowFoodAndDrink() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showFoodAndDrink', Sort.asc); }); } QueryBuilder thenByShowFoodAndDrinkDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showFoodAndDrink', Sort.desc); }); } QueryBuilder thenByShowIcons() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showIcons', Sort.asc); }); } QueryBuilder thenByShowIconsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showIcons', Sort.desc); }); } QueryBuilder thenByShowLectureHalls() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showLectureHalls', Sort.asc); }); } QueryBuilder thenByShowLectureHallsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showLectureHalls', Sort.desc); }); } QueryBuilder thenByShowSeminarRooms() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showSeminarRooms', Sort.asc); }); } QueryBuilder thenByShowSeminarRoomsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showSeminarRooms', Sort.desc); }); } QueryBuilder thenByShowStairs() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showStairs', Sort.asc); }); } QueryBuilder thenByShowStairsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showStairs', Sort.desc); }); } QueryBuilder thenByShowToilets() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showToilets', Sort.asc); }); } QueryBuilder thenByShowToiletsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'showToilets', Sort.desc); }); } } extension SettingsQueryWhereDistinct on QueryBuilder { QueryBuilder distinctByFemaleToilets() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'femaleToilets'); }); } QueryBuilder distinctByHandicapToilets() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'handicapToilets'); }); } QueryBuilder distinctByMaleToilets() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'maleToilets'); }); } QueryBuilder distinctByShowComputerPools() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showComputerPools'); }); } QueryBuilder distinctByShowDoors() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showDoors'); }); } QueryBuilder distinctByShowElevators() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showElevators'); }); } QueryBuilder distinctByShowFoodAndDrink() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showFoodAndDrink'); }); } QueryBuilder distinctByShowIcons() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showIcons'); }); } QueryBuilder distinctByShowLectureHalls() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showLectureHalls'); }); } QueryBuilder distinctByShowSeminarRooms() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showSeminarRooms'); }); } QueryBuilder distinctByShowStairs() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showStairs'); }); } QueryBuilder distinctByShowToilets() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'showToilets'); }); } } extension SettingsQueryProperty on QueryBuilder { QueryBuilder idProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'id'); }); } QueryBuilder femaleToiletsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'femaleToilets'); }); } QueryBuilder handicapToiletsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'handicapToilets'); }); } QueryBuilder maleToiletsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'maleToilets'); }); } QueryBuilder showComputerPoolsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showComputerPools'); }); } QueryBuilder showDoorsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showDoors'); }); } QueryBuilder showElevatorsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showElevators'); }); } QueryBuilder showFoodAndDrinkProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showFoodAndDrink'); }); } QueryBuilder showIconsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showIcons'); }); } QueryBuilder showLectureHallsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showLectureHalls'); }); } QueryBuilder showSeminarRoomsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showSeminarRooms'); }); } QueryBuilder showStairsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showStairs'); }); } QueryBuilder showToiletsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'showToilets'); }); } }