// GENERATED CODE - DO NOT MODIFY BY HAND part of 'exif_info.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 GetExifInfoCollection on Isar { IsarCollection get exifInfos => this.collection(); } const ExifInfoSchema = CollectionSchema( name: r'ExifInfo', id: -2409260054350835217, properties: { r'city': PropertySchema( id: 0, name: r'city', type: IsarType.string, ), r'country': PropertySchema( id: 1, name: r'country', type: IsarType.string, ), r'dateTimeOriginal': PropertySchema( id: 2, name: r'dateTimeOriginal', type: IsarType.dateTime, ), r'description': PropertySchema( id: 3, name: r'description', type: IsarType.string, ), r'exposureSeconds': PropertySchema( id: 4, name: r'exposureSeconds', type: IsarType.float, ), r'f': PropertySchema( id: 5, name: r'f', type: IsarType.float, ), r'fileSize': PropertySchema( id: 6, name: r'fileSize', type: IsarType.long, ), r'iso': PropertySchema( id: 7, name: r'iso', type: IsarType.int, ), r'lat': PropertySchema( id: 8, name: r'lat', type: IsarType.float, ), r'lens': PropertySchema( id: 9, name: r'lens', type: IsarType.string, ), r'long': PropertySchema( id: 10, name: r'long', type: IsarType.float, ), r'make': PropertySchema( id: 11, name: r'make', type: IsarType.string, ), r'mm': PropertySchema( id: 12, name: r'mm', type: IsarType.float, ), r'model': PropertySchema( id: 13, name: r'model', type: IsarType.string, ), r'state': PropertySchema( id: 14, name: r'state', type: IsarType.string, ), r'timeZone': PropertySchema( id: 15, name: r'timeZone', type: IsarType.string, ) }, estimateSize: _exifInfoEstimateSize, serialize: _exifInfoSerialize, deserialize: _exifInfoDeserialize, deserializeProp: _exifInfoDeserializeProp, idName: r'id', indexes: {}, links: {}, embeddedSchemas: {}, getId: _exifInfoGetId, getLinks: _exifInfoGetLinks, attach: _exifInfoAttach, version: '3.1.0+1', ); int _exifInfoEstimateSize( ExifInfo object, List offsets, Map> allOffsets, ) { var bytesCount = offsets.last; { final value = object.city; if (value != null) { bytesCount += 3 + value.length * 3; } } { final value = object.country; if (value != null) { bytesCount += 3 + value.length * 3; } } { final value = object.description; if (value != null) { bytesCount += 3 + value.length * 3; } } { final value = object.lens; if (value != null) { bytesCount += 3 + value.length * 3; } } { final value = object.make; if (value != null) { bytesCount += 3 + value.length * 3; } } { final value = object.model; if (value != null) { bytesCount += 3 + value.length * 3; } } { final value = object.state; if (value != null) { bytesCount += 3 + value.length * 3; } } { final value = object.timeZone; if (value != null) { bytesCount += 3 + value.length * 3; } } return bytesCount; } void _exifInfoSerialize( ExifInfo object, IsarWriter writer, List offsets, Map> allOffsets, ) { writer.writeString(offsets[0], object.city); writer.writeString(offsets[1], object.country); writer.writeDateTime(offsets[2], object.dateTimeOriginal); writer.writeString(offsets[3], object.description); writer.writeFloat(offsets[4], object.exposureSeconds); writer.writeFloat(offsets[5], object.f); writer.writeLong(offsets[6], object.fileSize); writer.writeInt(offsets[7], object.iso); writer.writeFloat(offsets[8], object.lat); writer.writeString(offsets[9], object.lens); writer.writeFloat(offsets[10], object.long); writer.writeString(offsets[11], object.make); writer.writeFloat(offsets[12], object.mm); writer.writeString(offsets[13], object.model); writer.writeString(offsets[14], object.state); writer.writeString(offsets[15], object.timeZone); } ExifInfo _exifInfoDeserialize( Id id, IsarReader reader, List offsets, Map> allOffsets, ) { final object = ExifInfo( city: reader.readStringOrNull(offsets[0]), country: reader.readStringOrNull(offsets[1]), dateTimeOriginal: reader.readDateTimeOrNull(offsets[2]), description: reader.readStringOrNull(offsets[3]), exposureSeconds: reader.readFloatOrNull(offsets[4]), f: reader.readFloatOrNull(offsets[5]), fileSize: reader.readLongOrNull(offsets[6]), id: id, iso: reader.readIntOrNull(offsets[7]), lat: reader.readFloatOrNull(offsets[8]), lens: reader.readStringOrNull(offsets[9]), long: reader.readFloatOrNull(offsets[10]), make: reader.readStringOrNull(offsets[11]), mm: reader.readFloatOrNull(offsets[12]), model: reader.readStringOrNull(offsets[13]), state: reader.readStringOrNull(offsets[14]), timeZone: reader.readStringOrNull(offsets[15]), ); return object; } P _exifInfoDeserializeProp

( IsarReader reader, int propertyId, int offset, Map> allOffsets, ) { switch (propertyId) { case 0: return (reader.readStringOrNull(offset)) as P; case 1: return (reader.readStringOrNull(offset)) as P; case 2: return (reader.readDateTimeOrNull(offset)) as P; case 3: return (reader.readStringOrNull(offset)) as P; case 4: return (reader.readFloatOrNull(offset)) as P; case 5: return (reader.readFloatOrNull(offset)) as P; case 6: return (reader.readLongOrNull(offset)) as P; case 7: return (reader.readIntOrNull(offset)) as P; case 8: return (reader.readFloatOrNull(offset)) as P; case 9: return (reader.readStringOrNull(offset)) as P; case 10: return (reader.readFloatOrNull(offset)) as P; case 11: return (reader.readStringOrNull(offset)) as P; case 12: return (reader.readFloatOrNull(offset)) as P; case 13: return (reader.readStringOrNull(offset)) as P; case 14: return (reader.readStringOrNull(offset)) as P; case 15: return (reader.readStringOrNull(offset)) as P; default: throw IsarError('Unknown property with id $propertyId'); } } Id _exifInfoGetId(ExifInfo object) { return object.id ?? Isar.autoIncrement; } List> _exifInfoGetLinks(ExifInfo object) { return []; } void _exifInfoAttach(IsarCollection col, Id id, ExifInfo object) { object.id = id; } extension ExifInfoQueryWhereSort on QueryBuilder { QueryBuilder anyId() { return QueryBuilder.apply(this, (query) { return query.addWhereClause(const IdWhereClause.any()); }); } } extension ExifInfoQueryWhere 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 ExifInfoQueryFilter on QueryBuilder { QueryBuilder cityIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'city', )); }); } QueryBuilder cityIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'city', )); }); } QueryBuilder cityEqualTo( String? value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'city', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder cityGreaterThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'city', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder cityLessThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'city', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder cityBetween( String? lower, String? upper, { bool includeLower = true, bool includeUpper = true, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'city', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, caseSensitive: caseSensitive, )); }); } QueryBuilder cityStartsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.startsWith( property: r'city', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder cityEndsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.endsWith( property: r'city', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder cityContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.contains( property: r'city', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder cityMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.matches( property: r'city', wildcard: pattern, caseSensitive: caseSensitive, )); }); } QueryBuilder cityIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'city', value: '', )); }); } QueryBuilder cityIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( property: r'city', value: '', )); }); } QueryBuilder countryIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'country', )); }); } QueryBuilder countryIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'country', )); }); } QueryBuilder countryEqualTo( String? value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'country', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder countryGreaterThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'country', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder countryLessThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'country', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder countryBetween( String? lower, String? upper, { bool includeLower = true, bool includeUpper = true, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'country', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, caseSensitive: caseSensitive, )); }); } QueryBuilder countryStartsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.startsWith( property: r'country', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder countryEndsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.endsWith( property: r'country', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder countryContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.contains( property: r'country', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder countryMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.matches( property: r'country', wildcard: pattern, caseSensitive: caseSensitive, )); }); } QueryBuilder countryIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'country', value: '', )); }); } QueryBuilder countryIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( property: r'country', value: '', )); }); } QueryBuilder dateTimeOriginalIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'dateTimeOriginal', )); }); } QueryBuilder dateTimeOriginalIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'dateTimeOriginal', )); }); } QueryBuilder dateTimeOriginalEqualTo(DateTime? value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'dateTimeOriginal', value: value, )); }); } QueryBuilder dateTimeOriginalGreaterThan( DateTime? value, { bool include = false, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'dateTimeOriginal', value: value, )); }); } QueryBuilder dateTimeOriginalLessThan( DateTime? value, { bool include = false, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'dateTimeOriginal', value: value, )); }); } QueryBuilder dateTimeOriginalBetween( DateTime? lower, DateTime? upper, { bool includeLower = true, bool includeUpper = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'dateTimeOriginal', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, )); }); } QueryBuilder descriptionIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'description', )); }); } QueryBuilder descriptionIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'description', )); }); } QueryBuilder descriptionEqualTo( String? value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'description', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder descriptionGreaterThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'description', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder descriptionLessThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'description', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder descriptionBetween( String? lower, String? upper, { bool includeLower = true, bool includeUpper = true, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'description', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, caseSensitive: caseSensitive, )); }); } QueryBuilder descriptionStartsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.startsWith( property: r'description', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder descriptionEndsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.endsWith( property: r'description', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder descriptionContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.contains( property: r'description', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder descriptionMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.matches( property: r'description', wildcard: pattern, caseSensitive: caseSensitive, )); }); } QueryBuilder descriptionIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'description', value: '', )); }); } QueryBuilder descriptionIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( property: r'description', value: '', )); }); } QueryBuilder exposureSecondsIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'exposureSeconds', )); }); } QueryBuilder exposureSecondsIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'exposureSeconds', )); }); } QueryBuilder exposureSecondsEqualTo( double? value, { double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'exposureSeconds', value: value, epsilon: epsilon, )); }); } QueryBuilder exposureSecondsGreaterThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'exposureSeconds', value: value, epsilon: epsilon, )); }); } QueryBuilder exposureSecondsLessThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'exposureSeconds', value: value, epsilon: epsilon, )); }); } QueryBuilder exposureSecondsBetween( double? lower, double? upper, { bool includeLower = true, bool includeUpper = true, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'exposureSeconds', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, epsilon: epsilon, )); }); } QueryBuilder fIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'f', )); }); } QueryBuilder fIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'f', )); }); } QueryBuilder fEqualTo( double? value, { double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'f', value: value, epsilon: epsilon, )); }); } QueryBuilder fGreaterThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'f', value: value, epsilon: epsilon, )); }); } QueryBuilder fLessThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'f', value: value, epsilon: epsilon, )); }); } QueryBuilder fBetween( double? lower, double? upper, { bool includeLower = true, bool includeUpper = true, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'f', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, epsilon: epsilon, )); }); } QueryBuilder fileSizeIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'fileSize', )); }); } QueryBuilder fileSizeIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'fileSize', )); }); } QueryBuilder fileSizeEqualTo( int? value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'fileSize', value: value, )); }); } QueryBuilder fileSizeGreaterThan( int? value, { bool include = false, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'fileSize', value: value, )); }); } QueryBuilder fileSizeLessThan( int? value, { bool include = false, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'fileSize', value: value, )); }); } QueryBuilder fileSizeBetween( int? lower, int? upper, { bool includeLower = true, bool includeUpper = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'fileSize', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, )); }); } QueryBuilder idIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'id', )); }); } QueryBuilder idIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'id', )); }); } 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 isoIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'iso', )); }); } QueryBuilder isoIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'iso', )); }); } QueryBuilder isoEqualTo( int? value) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'iso', value: value, )); }); } QueryBuilder isoGreaterThan( int? value, { bool include = false, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'iso', value: value, )); }); } QueryBuilder isoLessThan( int? value, { bool include = false, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'iso', value: value, )); }); } QueryBuilder isoBetween( int? lower, int? upper, { bool includeLower = true, bool includeUpper = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'iso', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, )); }); } QueryBuilder latIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'lat', )); }); } QueryBuilder latIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'lat', )); }); } QueryBuilder latEqualTo( double? value, { double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'lat', value: value, epsilon: epsilon, )); }); } QueryBuilder latGreaterThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'lat', value: value, epsilon: epsilon, )); }); } QueryBuilder latLessThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'lat', value: value, epsilon: epsilon, )); }); } QueryBuilder latBetween( double? lower, double? upper, { bool includeLower = true, bool includeUpper = true, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'lat', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, epsilon: epsilon, )); }); } QueryBuilder lensIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'lens', )); }); } QueryBuilder lensIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'lens', )); }); } QueryBuilder lensEqualTo( String? value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'lens', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder lensGreaterThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'lens', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder lensLessThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'lens', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder lensBetween( String? lower, String? upper, { bool includeLower = true, bool includeUpper = true, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'lens', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, caseSensitive: caseSensitive, )); }); } QueryBuilder lensStartsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.startsWith( property: r'lens', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder lensEndsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.endsWith( property: r'lens', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder lensContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.contains( property: r'lens', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder lensMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.matches( property: r'lens', wildcard: pattern, caseSensitive: caseSensitive, )); }); } QueryBuilder lensIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'lens', value: '', )); }); } QueryBuilder lensIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( property: r'lens', value: '', )); }); } QueryBuilder longIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'long', )); }); } QueryBuilder longIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'long', )); }); } QueryBuilder longEqualTo( double? value, { double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'long', value: value, epsilon: epsilon, )); }); } QueryBuilder longGreaterThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'long', value: value, epsilon: epsilon, )); }); } QueryBuilder longLessThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'long', value: value, epsilon: epsilon, )); }); } QueryBuilder longBetween( double? lower, double? upper, { bool includeLower = true, bool includeUpper = true, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'long', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, epsilon: epsilon, )); }); } QueryBuilder makeIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'make', )); }); } QueryBuilder makeIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'make', )); }); } QueryBuilder makeEqualTo( String? value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'make', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder makeGreaterThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'make', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder makeLessThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'make', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder makeBetween( String? lower, String? upper, { bool includeLower = true, bool includeUpper = true, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'make', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, caseSensitive: caseSensitive, )); }); } QueryBuilder makeStartsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.startsWith( property: r'make', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder makeEndsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.endsWith( property: r'make', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder makeContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.contains( property: r'make', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder makeMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.matches( property: r'make', wildcard: pattern, caseSensitive: caseSensitive, )); }); } QueryBuilder makeIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'make', value: '', )); }); } QueryBuilder makeIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( property: r'make', value: '', )); }); } QueryBuilder mmIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'mm', )); }); } QueryBuilder mmIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'mm', )); }); } QueryBuilder mmEqualTo( double? value, { double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'mm', value: value, epsilon: epsilon, )); }); } QueryBuilder mmGreaterThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'mm', value: value, epsilon: epsilon, )); }); } QueryBuilder mmLessThan( double? value, { bool include = false, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'mm', value: value, epsilon: epsilon, )); }); } QueryBuilder mmBetween( double? lower, double? upper, { bool includeLower = true, bool includeUpper = true, double epsilon = Query.epsilon, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'mm', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, epsilon: epsilon, )); }); } QueryBuilder modelIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'model', )); }); } QueryBuilder modelIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'model', )); }); } QueryBuilder modelEqualTo( String? value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'model', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder modelGreaterThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'model', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder modelLessThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'model', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder modelBetween( String? lower, String? upper, { bool includeLower = true, bool includeUpper = true, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'model', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, caseSensitive: caseSensitive, )); }); } QueryBuilder modelStartsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.startsWith( property: r'model', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder modelEndsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.endsWith( property: r'model', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder modelContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.contains( property: r'model', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder modelMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.matches( property: r'model', wildcard: pattern, caseSensitive: caseSensitive, )); }); } QueryBuilder modelIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'model', value: '', )); }); } QueryBuilder modelIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( property: r'model', value: '', )); }); } QueryBuilder stateIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'state', )); }); } QueryBuilder stateIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'state', )); }); } QueryBuilder stateEqualTo( String? value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'state', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder stateGreaterThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'state', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder stateLessThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'state', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder stateBetween( String? lower, String? upper, { bool includeLower = true, bool includeUpper = true, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'state', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, caseSensitive: caseSensitive, )); }); } QueryBuilder stateStartsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.startsWith( property: r'state', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder stateEndsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.endsWith( property: r'state', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder stateContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.contains( property: r'state', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder stateMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.matches( property: r'state', wildcard: pattern, caseSensitive: caseSensitive, )); }); } QueryBuilder stateIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'state', value: '', )); }); } QueryBuilder stateIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( property: r'state', value: '', )); }); } QueryBuilder timeZoneIsNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNull( property: r'timeZone', )); }); } QueryBuilder timeZoneIsNotNull() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(const FilterCondition.isNotNull( property: r'timeZone', )); }); } QueryBuilder timeZoneEqualTo( String? value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'timeZone', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder timeZoneGreaterThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( include: include, property: r'timeZone', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder timeZoneLessThan( String? value, { bool include = false, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.lessThan( include: include, property: r'timeZone', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder timeZoneBetween( String? lower, String? upper, { bool includeLower = true, bool includeUpper = true, bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.between( property: r'timeZone', lower: lower, includeLower: includeLower, upper: upper, includeUpper: includeUpper, caseSensitive: caseSensitive, )); }); } QueryBuilder timeZoneStartsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.startsWith( property: r'timeZone', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder timeZoneEndsWith( String value, { bool caseSensitive = true, }) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.endsWith( property: r'timeZone', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder timeZoneContains( String value, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.contains( property: r'timeZone', value: value, caseSensitive: caseSensitive, )); }); } QueryBuilder timeZoneMatches( String pattern, {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.matches( property: r'timeZone', wildcard: pattern, caseSensitive: caseSensitive, )); }); } QueryBuilder timeZoneIsEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.equalTo( property: r'timeZone', value: '', )); }); } QueryBuilder timeZoneIsNotEmpty() { return QueryBuilder.apply(this, (query) { return query.addFilterCondition(FilterCondition.greaterThan( property: r'timeZone', value: '', )); }); } } extension ExifInfoQueryObject on QueryBuilder {} extension ExifInfoQueryLinks on QueryBuilder {} extension ExifInfoQuerySortBy on QueryBuilder { QueryBuilder sortByCity() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'city', Sort.asc); }); } QueryBuilder sortByCityDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'city', Sort.desc); }); } QueryBuilder sortByCountry() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'country', Sort.asc); }); } QueryBuilder sortByCountryDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'country', Sort.desc); }); } QueryBuilder sortByDateTimeOriginal() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'dateTimeOriginal', Sort.asc); }); } QueryBuilder sortByDateTimeOriginalDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'dateTimeOriginal', Sort.desc); }); } QueryBuilder sortByDescription() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'description', Sort.asc); }); } QueryBuilder sortByDescriptionDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'description', Sort.desc); }); } QueryBuilder sortByExposureSeconds() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'exposureSeconds', Sort.asc); }); } QueryBuilder sortByExposureSecondsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'exposureSeconds', Sort.desc); }); } QueryBuilder sortByF() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'f', Sort.asc); }); } QueryBuilder sortByFDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'f', Sort.desc); }); } QueryBuilder sortByFileSize() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'fileSize', Sort.asc); }); } QueryBuilder sortByFileSizeDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'fileSize', Sort.desc); }); } QueryBuilder sortByIso() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'iso', Sort.asc); }); } QueryBuilder sortByIsoDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'iso', Sort.desc); }); } QueryBuilder sortByLat() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'lat', Sort.asc); }); } QueryBuilder sortByLatDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'lat', Sort.desc); }); } QueryBuilder sortByLens() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'lens', Sort.asc); }); } QueryBuilder sortByLensDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'lens', Sort.desc); }); } QueryBuilder sortByLong() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'long', Sort.asc); }); } QueryBuilder sortByLongDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'long', Sort.desc); }); } QueryBuilder sortByMake() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'make', Sort.asc); }); } QueryBuilder sortByMakeDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'make', Sort.desc); }); } QueryBuilder sortByMm() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'mm', Sort.asc); }); } QueryBuilder sortByMmDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'mm', Sort.desc); }); } QueryBuilder sortByModel() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'model', Sort.asc); }); } QueryBuilder sortByModelDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'model', Sort.desc); }); } QueryBuilder sortByState() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'state', Sort.asc); }); } QueryBuilder sortByStateDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'state', Sort.desc); }); } QueryBuilder sortByTimeZone() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'timeZone', Sort.asc); }); } QueryBuilder sortByTimeZoneDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'timeZone', Sort.desc); }); } } extension ExifInfoQuerySortThenBy on QueryBuilder { QueryBuilder thenByCity() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'city', Sort.asc); }); } QueryBuilder thenByCityDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'city', Sort.desc); }); } QueryBuilder thenByCountry() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'country', Sort.asc); }); } QueryBuilder thenByCountryDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'country', Sort.desc); }); } QueryBuilder thenByDateTimeOriginal() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'dateTimeOriginal', Sort.asc); }); } QueryBuilder thenByDateTimeOriginalDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'dateTimeOriginal', Sort.desc); }); } QueryBuilder thenByDescription() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'description', Sort.asc); }); } QueryBuilder thenByDescriptionDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'description', Sort.desc); }); } QueryBuilder thenByExposureSeconds() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'exposureSeconds', Sort.asc); }); } QueryBuilder thenByExposureSecondsDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'exposureSeconds', Sort.desc); }); } QueryBuilder thenByF() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'f', Sort.asc); }); } QueryBuilder thenByFDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'f', Sort.desc); }); } QueryBuilder thenByFileSize() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'fileSize', Sort.asc); }); } QueryBuilder thenByFileSizeDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'fileSize', 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 thenByIso() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'iso', Sort.asc); }); } QueryBuilder thenByIsoDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'iso', Sort.desc); }); } QueryBuilder thenByLat() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'lat', Sort.asc); }); } QueryBuilder thenByLatDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'lat', Sort.desc); }); } QueryBuilder thenByLens() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'lens', Sort.asc); }); } QueryBuilder thenByLensDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'lens', Sort.desc); }); } QueryBuilder thenByLong() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'long', Sort.asc); }); } QueryBuilder thenByLongDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'long', Sort.desc); }); } QueryBuilder thenByMake() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'make', Sort.asc); }); } QueryBuilder thenByMakeDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'make', Sort.desc); }); } QueryBuilder thenByMm() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'mm', Sort.asc); }); } QueryBuilder thenByMmDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'mm', Sort.desc); }); } QueryBuilder thenByModel() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'model', Sort.asc); }); } QueryBuilder thenByModelDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'model', Sort.desc); }); } QueryBuilder thenByState() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'state', Sort.asc); }); } QueryBuilder thenByStateDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'state', Sort.desc); }); } QueryBuilder thenByTimeZone() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'timeZone', Sort.asc); }); } QueryBuilder thenByTimeZoneDesc() { return QueryBuilder.apply(this, (query) { return query.addSortBy(r'timeZone', Sort.desc); }); } } extension ExifInfoQueryWhereDistinct on QueryBuilder { QueryBuilder distinctByCity( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'city', caseSensitive: caseSensitive); }); } QueryBuilder distinctByCountry( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'country', caseSensitive: caseSensitive); }); } QueryBuilder distinctByDateTimeOriginal() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'dateTimeOriginal'); }); } QueryBuilder distinctByDescription( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'description', caseSensitive: caseSensitive); }); } QueryBuilder distinctByExposureSeconds() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'exposureSeconds'); }); } QueryBuilder distinctByF() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'f'); }); } QueryBuilder distinctByFileSize() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'fileSize'); }); } QueryBuilder distinctByIso() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'iso'); }); } QueryBuilder distinctByLat() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'lat'); }); } QueryBuilder distinctByLens( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'lens', caseSensitive: caseSensitive); }); } QueryBuilder distinctByLong() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'long'); }); } QueryBuilder distinctByMake( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'make', caseSensitive: caseSensitive); }); } QueryBuilder distinctByMm() { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'mm'); }); } QueryBuilder distinctByModel( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'model', caseSensitive: caseSensitive); }); } QueryBuilder distinctByState( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'state', caseSensitive: caseSensitive); }); } QueryBuilder distinctByTimeZone( {bool caseSensitive = true}) { return QueryBuilder.apply(this, (query) { return query.addDistinctBy(r'timeZone', caseSensitive: caseSensitive); }); } } extension ExifInfoQueryProperty on QueryBuilder { QueryBuilder idProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'id'); }); } QueryBuilder cityProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'city'); }); } QueryBuilder countryProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'country'); }); } QueryBuilder dateTimeOriginalProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'dateTimeOriginal'); }); } QueryBuilder descriptionProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'description'); }); } QueryBuilder exposureSecondsProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'exposureSeconds'); }); } QueryBuilder fProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'f'); }); } QueryBuilder fileSizeProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'fileSize'); }); } QueryBuilder isoProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'iso'); }); } QueryBuilder latProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'lat'); }); } QueryBuilder lensProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'lens'); }); } QueryBuilder longProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'long'); }); } QueryBuilder makeProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'make'); }); } QueryBuilder mmProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'mm'); }); } QueryBuilder modelProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'model'); }); } QueryBuilder stateProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'state'); }); } QueryBuilder timeZoneProperty() { return QueryBuilder.apply(this, (query) { return query.addPropertyName(r'timeZone'); }); } }