// GENERATED CODE - DO NOT MODIFY BY HAND part of 'app_database.dart'; // ignore_for_file: type=lint class $SearchHistoryTable extends SearchHistory with TableInfo<$SearchHistoryTable, SearchHistoryData> { @override final GeneratedDatabase attachedDatabase; final String? _alias; $SearchHistoryTable(this.attachedDatabase, [this._alias]); static const VerificationMeta _idMeta = const VerificationMeta('id'); @override late final GeneratedColumn id = GeneratedColumn( 'id', aliasedName, false, hasAutoIncrement: true, type: DriftSqlType.int, requiredDuringInsert: false, defaultConstraints: GeneratedColumn.constraintIsAlways( 'PRIMARY KEY AUTOINCREMENT', ), ); static const VerificationMeta _queryMeta = const VerificationMeta('query'); @override late final GeneratedColumn query = GeneratedColumn( 'query', aliasedName, false, type: DriftSqlType.string, requiredDuringInsert: true, ); static const VerificationMeta _latitudeMeta = const VerificationMeta( 'latitude', ); @override late final GeneratedColumn latitude = GeneratedColumn( 'latitude', aliasedName, true, type: DriftSqlType.double, requiredDuringInsert: false, ); static const VerificationMeta _longitudeMeta = const VerificationMeta( 'longitude', ); @override late final GeneratedColumn longitude = GeneratedColumn( 'longitude', aliasedName, true, type: DriftSqlType.double, requiredDuringInsert: false, ); static const VerificationMeta _timestampMeta = const VerificationMeta( 'timestamp', ); @override late final GeneratedColumn timestamp = GeneratedColumn( 'timestamp', aliasedName, false, type: DriftSqlType.int, requiredDuringInsert: true, ); @override List get $columns => [ id, query, latitude, longitude, timestamp, ]; @override String get aliasedName => _alias ?? actualTableName; @override String get actualTableName => $name; static const String $name = 'search_history'; @override VerificationContext validateIntegrity( Insertable instance, { bool isInserting = false, }) { final context = VerificationContext(); final data = instance.toColumns(true); if (data.containsKey('id')) { context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); } if (data.containsKey('query')) { context.handle( _queryMeta, query.isAcceptableOrUnknown(data['query']!, _queryMeta), ); } else if (isInserting) { context.missing(_queryMeta); } if (data.containsKey('latitude')) { context.handle( _latitudeMeta, latitude.isAcceptableOrUnknown(data['latitude']!, _latitudeMeta), ); } if (data.containsKey('longitude')) { context.handle( _longitudeMeta, longitude.isAcceptableOrUnknown(data['longitude']!, _longitudeMeta), ); } if (data.containsKey('timestamp')) { context.handle( _timestampMeta, timestamp.isAcceptableOrUnknown(data['timestamp']!, _timestampMeta), ); } else if (isInserting) { context.missing(_timestampMeta); } return context; } @override Set get $primaryKey => {id}; @override SearchHistoryData map(Map data, {String? tablePrefix}) { final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; return SearchHistoryData( id: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}id'], )!, query: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}query'], )!, latitude: attachedDatabase.typeMapping.read( DriftSqlType.double, data['${effectivePrefix}latitude'], ), longitude: attachedDatabase.typeMapping.read( DriftSqlType.double, data['${effectivePrefix}longitude'], ), timestamp: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}timestamp'], )!, ); } @override $SearchHistoryTable createAlias(String alias) { return $SearchHistoryTable(attachedDatabase, alias); } } class SearchHistoryData extends DataClass implements Insertable { final int id; final String query; final double? latitude; final double? longitude; final int timestamp; const SearchHistoryData({ required this.id, required this.query, this.latitude, this.longitude, required this.timestamp, }); @override Map toColumns(bool nullToAbsent) { final map = {}; map['id'] = Variable(id); map['query'] = Variable(query); if (!nullToAbsent || latitude != null) { map['latitude'] = Variable(latitude); } if (!nullToAbsent || longitude != null) { map['longitude'] = Variable(longitude); } map['timestamp'] = Variable(timestamp); return map; } SearchHistoryCompanion toCompanion(bool nullToAbsent) { return SearchHistoryCompanion( id: Value(id), query: Value(query), latitude: latitude == null && nullToAbsent ? const Value.absent() : Value(latitude), longitude: longitude == null && nullToAbsent ? const Value.absent() : Value(longitude), timestamp: Value(timestamp), ); } factory SearchHistoryData.fromJson( Map json, { ValueSerializer? serializer, }) { serializer ??= driftRuntimeOptions.defaultSerializer; return SearchHistoryData( id: serializer.fromJson(json['id']), query: serializer.fromJson(json['query']), latitude: serializer.fromJson(json['latitude']), longitude: serializer.fromJson(json['longitude']), timestamp: serializer.fromJson(json['timestamp']), ); } @override Map toJson({ValueSerializer? serializer}) { serializer ??= driftRuntimeOptions.defaultSerializer; return { 'id': serializer.toJson(id), 'query': serializer.toJson(query), 'latitude': serializer.toJson(latitude), 'longitude': serializer.toJson(longitude), 'timestamp': serializer.toJson(timestamp), }; } SearchHistoryData copyWith({ int? id, String? query, Value latitude = const Value.absent(), Value longitude = const Value.absent(), int? timestamp, }) => SearchHistoryData( id: id ?? this.id, query: query ?? this.query, latitude: latitude.present ? latitude.value : this.latitude, longitude: longitude.present ? longitude.value : this.longitude, timestamp: timestamp ?? this.timestamp, ); SearchHistoryData copyWithCompanion(SearchHistoryCompanion data) { return SearchHistoryData( id: data.id.present ? data.id.value : this.id, query: data.query.present ? data.query.value : this.query, latitude: data.latitude.present ? data.latitude.value : this.latitude, longitude: data.longitude.present ? data.longitude.value : this.longitude, timestamp: data.timestamp.present ? data.timestamp.value : this.timestamp, ); } @override String toString() { return (StringBuffer('SearchHistoryData(') ..write('id: $id, ') ..write('query: $query, ') ..write('latitude: $latitude, ') ..write('longitude: $longitude, ') ..write('timestamp: $timestamp') ..write(')')) .toString(); } @override int get hashCode => Object.hash(id, query, latitude, longitude, timestamp); @override bool operator ==(Object other) => identical(this, other) || (other is SearchHistoryData && other.id == this.id && other.query == this.query && other.latitude == this.latitude && other.longitude == this.longitude && other.timestamp == this.timestamp); } class SearchHistoryCompanion extends UpdateCompanion { final Value id; final Value query; final Value latitude; final Value longitude; final Value timestamp; const SearchHistoryCompanion({ this.id = const Value.absent(), this.query = const Value.absent(), this.latitude = const Value.absent(), this.longitude = const Value.absent(), this.timestamp = const Value.absent(), }); SearchHistoryCompanion.insert({ this.id = const Value.absent(), required String query, this.latitude = const Value.absent(), this.longitude = const Value.absent(), required int timestamp, }) : query = Value(query), timestamp = Value(timestamp); static Insertable custom({ Expression? id, Expression? query, Expression? latitude, Expression? longitude, Expression? timestamp, }) { return RawValuesInsertable({ if (id != null) 'id': id, if (query != null) 'query': query, if (latitude != null) 'latitude': latitude, if (longitude != null) 'longitude': longitude, if (timestamp != null) 'timestamp': timestamp, }); } SearchHistoryCompanion copyWith({ Value? id, Value? query, Value? latitude, Value? longitude, Value? timestamp, }) { return SearchHistoryCompanion( id: id ?? this.id, query: query ?? this.query, latitude: latitude ?? this.latitude, longitude: longitude ?? this.longitude, timestamp: timestamp ?? this.timestamp, ); } @override Map toColumns(bool nullToAbsent) { final map = {}; if (id.present) { map['id'] = Variable(id.value); } if (query.present) { map['query'] = Variable(query.value); } if (latitude.present) { map['latitude'] = Variable(latitude.value); } if (longitude.present) { map['longitude'] = Variable(longitude.value); } if (timestamp.present) { map['timestamp'] = Variable(timestamp.value); } return map; } @override String toString() { return (StringBuffer('SearchHistoryCompanion(') ..write('id: $id, ') ..write('query: $query, ') ..write('latitude: $latitude, ') ..write('longitude: $longitude, ') ..write('timestamp: $timestamp') ..write(')')) .toString(); } } class $FavoritesTable extends Favorites with TableInfo<$FavoritesTable, Favorite> { @override final GeneratedDatabase attachedDatabase; final String? _alias; $FavoritesTable(this.attachedDatabase, [this._alias]); static const VerificationMeta _idMeta = const VerificationMeta('id'); @override late final GeneratedColumn id = GeneratedColumn( 'id', aliasedName, false, hasAutoIncrement: true, type: DriftSqlType.int, requiredDuringInsert: false, defaultConstraints: GeneratedColumn.constraintIsAlways( 'PRIMARY KEY AUTOINCREMENT', ), ); static const VerificationMeta _osmIdMeta = const VerificationMeta('osmId'); @override late final GeneratedColumn osmId = GeneratedColumn( 'osm_id', aliasedName, true, type: DriftSqlType.int, requiredDuringInsert: false, ); static const VerificationMeta _osmTypeMeta = const VerificationMeta( 'osmType', ); @override late final GeneratedColumn osmType = GeneratedColumn( 'osm_type', aliasedName, true, type: DriftSqlType.string, requiredDuringInsert: false, ); static const VerificationMeta _nameMeta = const VerificationMeta('name'); @override late final GeneratedColumn name = GeneratedColumn( 'name', aliasedName, false, type: DriftSqlType.string, requiredDuringInsert: true, ); static const VerificationMeta _noteMeta = const VerificationMeta('note'); @override late final GeneratedColumn note = GeneratedColumn( 'note', aliasedName, true, type: DriftSqlType.string, requiredDuringInsert: false, ); static const VerificationMeta _groupNameMeta = const VerificationMeta( 'groupName', ); @override late final GeneratedColumn groupName = GeneratedColumn( 'group_name', aliasedName, false, type: DriftSqlType.string, requiredDuringInsert: false, defaultValue: const Constant('Favorites'), ); static const VerificationMeta _latitudeMeta = const VerificationMeta( 'latitude', ); @override late final GeneratedColumn latitude = GeneratedColumn( 'latitude', aliasedName, false, type: DriftSqlType.double, requiredDuringInsert: true, ); static const VerificationMeta _longitudeMeta = const VerificationMeta( 'longitude', ); @override late final GeneratedColumn longitude = GeneratedColumn( 'longitude', aliasedName, false, type: DriftSqlType.double, requiredDuringInsert: true, ); static const VerificationMeta _addressJsonMeta = const VerificationMeta( 'addressJson', ); @override late final GeneratedColumn addressJson = GeneratedColumn( 'address_json', aliasedName, true, type: DriftSqlType.string, requiredDuringInsert: false, ); static const VerificationMeta _createdAtMeta = const VerificationMeta( 'createdAt', ); @override late final GeneratedColumn createdAt = GeneratedColumn( 'created_at', aliasedName, false, type: DriftSqlType.int, requiredDuringInsert: true, ); static const VerificationMeta _updatedAtMeta = const VerificationMeta( 'updatedAt', ); @override late final GeneratedColumn updatedAt = GeneratedColumn( 'updated_at', aliasedName, false, type: DriftSqlType.int, requiredDuringInsert: true, ); @override List get $columns => [ id, osmId, osmType, name, note, groupName, latitude, longitude, addressJson, createdAt, updatedAt, ]; @override String get aliasedName => _alias ?? actualTableName; @override String get actualTableName => $name; static const String $name = 'favorites'; @override VerificationContext validateIntegrity( Insertable instance, { bool isInserting = false, }) { final context = VerificationContext(); final data = instance.toColumns(true); if (data.containsKey('id')) { context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); } if (data.containsKey('osm_id')) { context.handle( _osmIdMeta, osmId.isAcceptableOrUnknown(data['osm_id']!, _osmIdMeta), ); } if (data.containsKey('osm_type')) { context.handle( _osmTypeMeta, osmType.isAcceptableOrUnknown(data['osm_type']!, _osmTypeMeta), ); } if (data.containsKey('name')) { context.handle( _nameMeta, name.isAcceptableOrUnknown(data['name']!, _nameMeta), ); } else if (isInserting) { context.missing(_nameMeta); } if (data.containsKey('note')) { context.handle( _noteMeta, note.isAcceptableOrUnknown(data['note']!, _noteMeta), ); } if (data.containsKey('group_name')) { context.handle( _groupNameMeta, groupName.isAcceptableOrUnknown(data['group_name']!, _groupNameMeta), ); } if (data.containsKey('latitude')) { context.handle( _latitudeMeta, latitude.isAcceptableOrUnknown(data['latitude']!, _latitudeMeta), ); } else if (isInserting) { context.missing(_latitudeMeta); } if (data.containsKey('longitude')) { context.handle( _longitudeMeta, longitude.isAcceptableOrUnknown(data['longitude']!, _longitudeMeta), ); } else if (isInserting) { context.missing(_longitudeMeta); } if (data.containsKey('address_json')) { context.handle( _addressJsonMeta, addressJson.isAcceptableOrUnknown( data['address_json']!, _addressJsonMeta, ), ); } if (data.containsKey('created_at')) { context.handle( _createdAtMeta, createdAt.isAcceptableOrUnknown(data['created_at']!, _createdAtMeta), ); } else if (isInserting) { context.missing(_createdAtMeta); } if (data.containsKey('updated_at')) { context.handle( _updatedAtMeta, updatedAt.isAcceptableOrUnknown(data['updated_at']!, _updatedAtMeta), ); } else if (isInserting) { context.missing(_updatedAtMeta); } return context; } @override Set get $primaryKey => {id}; @override Favorite map(Map data, {String? tablePrefix}) { final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; return Favorite( id: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}id'], )!, osmId: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}osm_id'], ), osmType: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}osm_type'], ), name: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}name'], )!, note: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}note'], ), groupName: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}group_name'], )!, latitude: attachedDatabase.typeMapping.read( DriftSqlType.double, data['${effectivePrefix}latitude'], )!, longitude: attachedDatabase.typeMapping.read( DriftSqlType.double, data['${effectivePrefix}longitude'], )!, addressJson: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}address_json'], ), createdAt: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}created_at'], )!, updatedAt: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}updated_at'], )!, ); } @override $FavoritesTable createAlias(String alias) { return $FavoritesTable(attachedDatabase, alias); } } class Favorite extends DataClass implements Insertable { final int id; final int? osmId; final String? osmType; final String name; final String? note; final String groupName; final double latitude; final double longitude; final String? addressJson; final int createdAt; final int updatedAt; const Favorite({ required this.id, this.osmId, this.osmType, required this.name, this.note, required this.groupName, required this.latitude, required this.longitude, this.addressJson, required this.createdAt, required this.updatedAt, }); @override Map toColumns(bool nullToAbsent) { final map = {}; map['id'] = Variable(id); if (!nullToAbsent || osmId != null) { map['osm_id'] = Variable(osmId); } if (!nullToAbsent || osmType != null) { map['osm_type'] = Variable(osmType); } map['name'] = Variable(name); if (!nullToAbsent || note != null) { map['note'] = Variable(note); } map['group_name'] = Variable(groupName); map['latitude'] = Variable(latitude); map['longitude'] = Variable(longitude); if (!nullToAbsent || addressJson != null) { map['address_json'] = Variable(addressJson); } map['created_at'] = Variable(createdAt); map['updated_at'] = Variable(updatedAt); return map; } FavoritesCompanion toCompanion(bool nullToAbsent) { return FavoritesCompanion( id: Value(id), osmId: osmId == null && nullToAbsent ? const Value.absent() : Value(osmId), osmType: osmType == null && nullToAbsent ? const Value.absent() : Value(osmType), name: Value(name), note: note == null && nullToAbsent ? const Value.absent() : Value(note), groupName: Value(groupName), latitude: Value(latitude), longitude: Value(longitude), addressJson: addressJson == null && nullToAbsent ? const Value.absent() : Value(addressJson), createdAt: Value(createdAt), updatedAt: Value(updatedAt), ); } factory Favorite.fromJson( Map json, { ValueSerializer? serializer, }) { serializer ??= driftRuntimeOptions.defaultSerializer; return Favorite( id: serializer.fromJson(json['id']), osmId: serializer.fromJson(json['osmId']), osmType: serializer.fromJson(json['osmType']), name: serializer.fromJson(json['name']), note: serializer.fromJson(json['note']), groupName: serializer.fromJson(json['groupName']), latitude: serializer.fromJson(json['latitude']), longitude: serializer.fromJson(json['longitude']), addressJson: serializer.fromJson(json['addressJson']), createdAt: serializer.fromJson(json['createdAt']), updatedAt: serializer.fromJson(json['updatedAt']), ); } @override Map toJson({ValueSerializer? serializer}) { serializer ??= driftRuntimeOptions.defaultSerializer; return { 'id': serializer.toJson(id), 'osmId': serializer.toJson(osmId), 'osmType': serializer.toJson(osmType), 'name': serializer.toJson(name), 'note': serializer.toJson(note), 'groupName': serializer.toJson(groupName), 'latitude': serializer.toJson(latitude), 'longitude': serializer.toJson(longitude), 'addressJson': serializer.toJson(addressJson), 'createdAt': serializer.toJson(createdAt), 'updatedAt': serializer.toJson(updatedAt), }; } Favorite copyWith({ int? id, Value osmId = const Value.absent(), Value osmType = const Value.absent(), String? name, Value note = const Value.absent(), String? groupName, double? latitude, double? longitude, Value addressJson = const Value.absent(), int? createdAt, int? updatedAt, }) => Favorite( id: id ?? this.id, osmId: osmId.present ? osmId.value : this.osmId, osmType: osmType.present ? osmType.value : this.osmType, name: name ?? this.name, note: note.present ? note.value : this.note, groupName: groupName ?? this.groupName, latitude: latitude ?? this.latitude, longitude: longitude ?? this.longitude, addressJson: addressJson.present ? addressJson.value : this.addressJson, createdAt: createdAt ?? this.createdAt, updatedAt: updatedAt ?? this.updatedAt, ); Favorite copyWithCompanion(FavoritesCompanion data) { return Favorite( id: data.id.present ? data.id.value : this.id, osmId: data.osmId.present ? data.osmId.value : this.osmId, osmType: data.osmType.present ? data.osmType.value : this.osmType, name: data.name.present ? data.name.value : this.name, note: data.note.present ? data.note.value : this.note, groupName: data.groupName.present ? data.groupName.value : this.groupName, latitude: data.latitude.present ? data.latitude.value : this.latitude, longitude: data.longitude.present ? data.longitude.value : this.longitude, addressJson: data.addressJson.present ? data.addressJson.value : this.addressJson, createdAt: data.createdAt.present ? data.createdAt.value : this.createdAt, updatedAt: data.updatedAt.present ? data.updatedAt.value : this.updatedAt, ); } @override String toString() { return (StringBuffer('Favorite(') ..write('id: $id, ') ..write('osmId: $osmId, ') ..write('osmType: $osmType, ') ..write('name: $name, ') ..write('note: $note, ') ..write('groupName: $groupName, ') ..write('latitude: $latitude, ') ..write('longitude: $longitude, ') ..write('addressJson: $addressJson, ') ..write('createdAt: $createdAt, ') ..write('updatedAt: $updatedAt') ..write(')')) .toString(); } @override int get hashCode => Object.hash( id, osmId, osmType, name, note, groupName, latitude, longitude, addressJson, createdAt, updatedAt, ); @override bool operator ==(Object other) => identical(this, other) || (other is Favorite && other.id == this.id && other.osmId == this.osmId && other.osmType == this.osmType && other.name == this.name && other.note == this.note && other.groupName == this.groupName && other.latitude == this.latitude && other.longitude == this.longitude && other.addressJson == this.addressJson && other.createdAt == this.createdAt && other.updatedAt == this.updatedAt); } class FavoritesCompanion extends UpdateCompanion { final Value id; final Value osmId; final Value osmType; final Value name; final Value note; final Value groupName; final Value latitude; final Value longitude; final Value addressJson; final Value createdAt; final Value updatedAt; const FavoritesCompanion({ this.id = const Value.absent(), this.osmId = const Value.absent(), this.osmType = const Value.absent(), this.name = const Value.absent(), this.note = const Value.absent(), this.groupName = const Value.absent(), this.latitude = const Value.absent(), this.longitude = const Value.absent(), this.addressJson = const Value.absent(), this.createdAt = const Value.absent(), this.updatedAt = const Value.absent(), }); FavoritesCompanion.insert({ this.id = const Value.absent(), this.osmId = const Value.absent(), this.osmType = const Value.absent(), required String name, this.note = const Value.absent(), this.groupName = const Value.absent(), required double latitude, required double longitude, this.addressJson = const Value.absent(), required int createdAt, required int updatedAt, }) : name = Value(name), latitude = Value(latitude), longitude = Value(longitude), createdAt = Value(createdAt), updatedAt = Value(updatedAt); static Insertable custom({ Expression? id, Expression? osmId, Expression? osmType, Expression? name, Expression? note, Expression? groupName, Expression? latitude, Expression? longitude, Expression? addressJson, Expression? createdAt, Expression? updatedAt, }) { return RawValuesInsertable({ if (id != null) 'id': id, if (osmId != null) 'osm_id': osmId, if (osmType != null) 'osm_type': osmType, if (name != null) 'name': name, if (note != null) 'note': note, if (groupName != null) 'group_name': groupName, if (latitude != null) 'latitude': latitude, if (longitude != null) 'longitude': longitude, if (addressJson != null) 'address_json': addressJson, if (createdAt != null) 'created_at': createdAt, if (updatedAt != null) 'updated_at': updatedAt, }); } FavoritesCompanion copyWith({ Value? id, Value? osmId, Value? osmType, Value? name, Value? note, Value? groupName, Value? latitude, Value? longitude, Value? addressJson, Value? createdAt, Value? updatedAt, }) { return FavoritesCompanion( id: id ?? this.id, osmId: osmId ?? this.osmId, osmType: osmType ?? this.osmType, name: name ?? this.name, note: note ?? this.note, groupName: groupName ?? this.groupName, latitude: latitude ?? this.latitude, longitude: longitude ?? this.longitude, addressJson: addressJson ?? this.addressJson, createdAt: createdAt ?? this.createdAt, updatedAt: updatedAt ?? this.updatedAt, ); } @override Map toColumns(bool nullToAbsent) { final map = {}; if (id.present) { map['id'] = Variable(id.value); } if (osmId.present) { map['osm_id'] = Variable(osmId.value); } if (osmType.present) { map['osm_type'] = Variable(osmType.value); } if (name.present) { map['name'] = Variable(name.value); } if (note.present) { map['note'] = Variable(note.value); } if (groupName.present) { map['group_name'] = Variable(groupName.value); } if (latitude.present) { map['latitude'] = Variable(latitude.value); } if (longitude.present) { map['longitude'] = Variable(longitude.value); } if (addressJson.present) { map['address_json'] = Variable(addressJson.value); } if (createdAt.present) { map['created_at'] = Variable(createdAt.value); } if (updatedAt.present) { map['updated_at'] = Variable(updatedAt.value); } return map; } @override String toString() { return (StringBuffer('FavoritesCompanion(') ..write('id: $id, ') ..write('osmId: $osmId, ') ..write('osmType: $osmType, ') ..write('name: $name, ') ..write('note: $note, ') ..write('groupName: $groupName, ') ..write('latitude: $latitude, ') ..write('longitude: $longitude, ') ..write('addressJson: $addressJson, ') ..write('createdAt: $createdAt, ') ..write('updatedAt: $updatedAt') ..write(')')) .toString(); } } class $OfflineRegionsTable extends OfflineRegions with TableInfo<$OfflineRegionsTable, OfflineRegion> { @override final GeneratedDatabase attachedDatabase; final String? _alias; $OfflineRegionsTable(this.attachedDatabase, [this._alias]); static const VerificationMeta _idMeta = const VerificationMeta('id'); @override late final GeneratedColumn id = GeneratedColumn( 'id', aliasedName, false, type: DriftSqlType.string, requiredDuringInsert: true, ); static const VerificationMeta _nameMeta = const VerificationMeta('name'); @override late final GeneratedColumn name = GeneratedColumn( 'name', aliasedName, false, type: DriftSqlType.string, requiredDuringInsert: true, ); static const VerificationMeta _minLatMeta = const VerificationMeta('minLat'); @override late final GeneratedColumn minLat = GeneratedColumn( 'min_lat', aliasedName, false, type: DriftSqlType.double, requiredDuringInsert: true, ); static const VerificationMeta _minLonMeta = const VerificationMeta('minLon'); @override late final GeneratedColumn minLon = GeneratedColumn( 'min_lon', aliasedName, false, type: DriftSqlType.double, requiredDuringInsert: true, ); static const VerificationMeta _maxLatMeta = const VerificationMeta('maxLat'); @override late final GeneratedColumn maxLat = GeneratedColumn( 'max_lat', aliasedName, false, type: DriftSqlType.double, requiredDuringInsert: true, ); static const VerificationMeta _maxLonMeta = const VerificationMeta('maxLon'); @override late final GeneratedColumn maxLon = GeneratedColumn( 'max_lon', aliasedName, false, type: DriftSqlType.double, requiredDuringInsert: true, ); static const VerificationMeta _tilesSizeBytesMeta = const VerificationMeta( 'tilesSizeBytes', ); @override late final GeneratedColumn tilesSizeBytes = GeneratedColumn( 'tiles_size_bytes', aliasedName, false, type: DriftSqlType.int, requiredDuringInsert: true, ); static const VerificationMeta _routingSizeBytesMeta = const VerificationMeta( 'routingSizeBytes', ); @override late final GeneratedColumn routingSizeBytes = GeneratedColumn( 'routing_size_bytes', aliasedName, false, type: DriftSqlType.int, requiredDuringInsert: true, ); static const VerificationMeta _poisSizeBytesMeta = const VerificationMeta( 'poisSizeBytes', ); @override late final GeneratedColumn poisSizeBytes = GeneratedColumn( 'pois_size_bytes', aliasedName, false, type: DriftSqlType.int, requiredDuringInsert: true, ); static const VerificationMeta _downloadedAtMeta = const VerificationMeta( 'downloadedAt', ); @override late final GeneratedColumn downloadedAt = GeneratedColumn( 'downloaded_at', aliasedName, false, type: DriftSqlType.int, requiredDuringInsert: true, ); static const VerificationMeta _lastUpdatedMeta = const VerificationMeta( 'lastUpdated', ); @override late final GeneratedColumn lastUpdated = GeneratedColumn( 'last_updated', aliasedName, false, type: DriftSqlType.int, requiredDuringInsert: true, ); @override List get $columns => [ id, name, minLat, minLon, maxLat, maxLon, tilesSizeBytes, routingSizeBytes, poisSizeBytes, downloadedAt, lastUpdated, ]; @override String get aliasedName => _alias ?? actualTableName; @override String get actualTableName => $name; static const String $name = 'offline_regions'; @override VerificationContext validateIntegrity( Insertable instance, { bool isInserting = false, }) { final context = VerificationContext(); final data = instance.toColumns(true); if (data.containsKey('id')) { context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); } else if (isInserting) { context.missing(_idMeta); } if (data.containsKey('name')) { context.handle( _nameMeta, name.isAcceptableOrUnknown(data['name']!, _nameMeta), ); } else if (isInserting) { context.missing(_nameMeta); } if (data.containsKey('min_lat')) { context.handle( _minLatMeta, minLat.isAcceptableOrUnknown(data['min_lat']!, _minLatMeta), ); } else if (isInserting) { context.missing(_minLatMeta); } if (data.containsKey('min_lon')) { context.handle( _minLonMeta, minLon.isAcceptableOrUnknown(data['min_lon']!, _minLonMeta), ); } else if (isInserting) { context.missing(_minLonMeta); } if (data.containsKey('max_lat')) { context.handle( _maxLatMeta, maxLat.isAcceptableOrUnknown(data['max_lat']!, _maxLatMeta), ); } else if (isInserting) { context.missing(_maxLatMeta); } if (data.containsKey('max_lon')) { context.handle( _maxLonMeta, maxLon.isAcceptableOrUnknown(data['max_lon']!, _maxLonMeta), ); } else if (isInserting) { context.missing(_maxLonMeta); } if (data.containsKey('tiles_size_bytes')) { context.handle( _tilesSizeBytesMeta, tilesSizeBytes.isAcceptableOrUnknown( data['tiles_size_bytes']!, _tilesSizeBytesMeta, ), ); } else if (isInserting) { context.missing(_tilesSizeBytesMeta); } if (data.containsKey('routing_size_bytes')) { context.handle( _routingSizeBytesMeta, routingSizeBytes.isAcceptableOrUnknown( data['routing_size_bytes']!, _routingSizeBytesMeta, ), ); } else if (isInserting) { context.missing(_routingSizeBytesMeta); } if (data.containsKey('pois_size_bytes')) { context.handle( _poisSizeBytesMeta, poisSizeBytes.isAcceptableOrUnknown( data['pois_size_bytes']!, _poisSizeBytesMeta, ), ); } else if (isInserting) { context.missing(_poisSizeBytesMeta); } if (data.containsKey('downloaded_at')) { context.handle( _downloadedAtMeta, downloadedAt.isAcceptableOrUnknown( data['downloaded_at']!, _downloadedAtMeta, ), ); } else if (isInserting) { context.missing(_downloadedAtMeta); } if (data.containsKey('last_updated')) { context.handle( _lastUpdatedMeta, lastUpdated.isAcceptableOrUnknown( data['last_updated']!, _lastUpdatedMeta, ), ); } else if (isInserting) { context.missing(_lastUpdatedMeta); } return context; } @override Set get $primaryKey => {id}; @override OfflineRegion map(Map data, {String? tablePrefix}) { final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; return OfflineRegion( id: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}id'], )!, name: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}name'], )!, minLat: attachedDatabase.typeMapping.read( DriftSqlType.double, data['${effectivePrefix}min_lat'], )!, minLon: attachedDatabase.typeMapping.read( DriftSqlType.double, data['${effectivePrefix}min_lon'], )!, maxLat: attachedDatabase.typeMapping.read( DriftSqlType.double, data['${effectivePrefix}max_lat'], )!, maxLon: attachedDatabase.typeMapping.read( DriftSqlType.double, data['${effectivePrefix}max_lon'], )!, tilesSizeBytes: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}tiles_size_bytes'], )!, routingSizeBytes: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}routing_size_bytes'], )!, poisSizeBytes: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}pois_size_bytes'], )!, downloadedAt: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}downloaded_at'], )!, lastUpdated: attachedDatabase.typeMapping.read( DriftSqlType.int, data['${effectivePrefix}last_updated'], )!, ); } @override $OfflineRegionsTable createAlias(String alias) { return $OfflineRegionsTable(attachedDatabase, alias); } } class OfflineRegion extends DataClass implements Insertable { final String id; final String name; final double minLat; final double minLon; final double maxLat; final double maxLon; final int tilesSizeBytes; final int routingSizeBytes; final int poisSizeBytes; final int downloadedAt; final int lastUpdated; const OfflineRegion({ required this.id, required this.name, required this.minLat, required this.minLon, required this.maxLat, required this.maxLon, required this.tilesSizeBytes, required this.routingSizeBytes, required this.poisSizeBytes, required this.downloadedAt, required this.lastUpdated, }); @override Map toColumns(bool nullToAbsent) { final map = {}; map['id'] = Variable(id); map['name'] = Variable(name); map['min_lat'] = Variable(minLat); map['min_lon'] = Variable(minLon); map['max_lat'] = Variable(maxLat); map['max_lon'] = Variable(maxLon); map['tiles_size_bytes'] = Variable(tilesSizeBytes); map['routing_size_bytes'] = Variable(routingSizeBytes); map['pois_size_bytes'] = Variable(poisSizeBytes); map['downloaded_at'] = Variable(downloadedAt); map['last_updated'] = Variable(lastUpdated); return map; } OfflineRegionsCompanion toCompanion(bool nullToAbsent) { return OfflineRegionsCompanion( id: Value(id), name: Value(name), minLat: Value(minLat), minLon: Value(minLon), maxLat: Value(maxLat), maxLon: Value(maxLon), tilesSizeBytes: Value(tilesSizeBytes), routingSizeBytes: Value(routingSizeBytes), poisSizeBytes: Value(poisSizeBytes), downloadedAt: Value(downloadedAt), lastUpdated: Value(lastUpdated), ); } factory OfflineRegion.fromJson( Map json, { ValueSerializer? serializer, }) { serializer ??= driftRuntimeOptions.defaultSerializer; return OfflineRegion( id: serializer.fromJson(json['id']), name: serializer.fromJson(json['name']), minLat: serializer.fromJson(json['minLat']), minLon: serializer.fromJson(json['minLon']), maxLat: serializer.fromJson(json['maxLat']), maxLon: serializer.fromJson(json['maxLon']), tilesSizeBytes: serializer.fromJson(json['tilesSizeBytes']), routingSizeBytes: serializer.fromJson(json['routingSizeBytes']), poisSizeBytes: serializer.fromJson(json['poisSizeBytes']), downloadedAt: serializer.fromJson(json['downloadedAt']), lastUpdated: serializer.fromJson(json['lastUpdated']), ); } @override Map toJson({ValueSerializer? serializer}) { serializer ??= driftRuntimeOptions.defaultSerializer; return { 'id': serializer.toJson(id), 'name': serializer.toJson(name), 'minLat': serializer.toJson(minLat), 'minLon': serializer.toJson(minLon), 'maxLat': serializer.toJson(maxLat), 'maxLon': serializer.toJson(maxLon), 'tilesSizeBytes': serializer.toJson(tilesSizeBytes), 'routingSizeBytes': serializer.toJson(routingSizeBytes), 'poisSizeBytes': serializer.toJson(poisSizeBytes), 'downloadedAt': serializer.toJson(downloadedAt), 'lastUpdated': serializer.toJson(lastUpdated), }; } OfflineRegion copyWith({ String? id, String? name, double? minLat, double? minLon, double? maxLat, double? maxLon, int? tilesSizeBytes, int? routingSizeBytes, int? poisSizeBytes, int? downloadedAt, int? lastUpdated, }) => OfflineRegion( id: id ?? this.id, name: name ?? this.name, minLat: minLat ?? this.minLat, minLon: minLon ?? this.minLon, maxLat: maxLat ?? this.maxLat, maxLon: maxLon ?? this.maxLon, tilesSizeBytes: tilesSizeBytes ?? this.tilesSizeBytes, routingSizeBytes: routingSizeBytes ?? this.routingSizeBytes, poisSizeBytes: poisSizeBytes ?? this.poisSizeBytes, downloadedAt: downloadedAt ?? this.downloadedAt, lastUpdated: lastUpdated ?? this.lastUpdated, ); OfflineRegion copyWithCompanion(OfflineRegionsCompanion data) { return OfflineRegion( id: data.id.present ? data.id.value : this.id, name: data.name.present ? data.name.value : this.name, minLat: data.minLat.present ? data.minLat.value : this.minLat, minLon: data.minLon.present ? data.minLon.value : this.minLon, maxLat: data.maxLat.present ? data.maxLat.value : this.maxLat, maxLon: data.maxLon.present ? data.maxLon.value : this.maxLon, tilesSizeBytes: data.tilesSizeBytes.present ? data.tilesSizeBytes.value : this.tilesSizeBytes, routingSizeBytes: data.routingSizeBytes.present ? data.routingSizeBytes.value : this.routingSizeBytes, poisSizeBytes: data.poisSizeBytes.present ? data.poisSizeBytes.value : this.poisSizeBytes, downloadedAt: data.downloadedAt.present ? data.downloadedAt.value : this.downloadedAt, lastUpdated: data.lastUpdated.present ? data.lastUpdated.value : this.lastUpdated, ); } @override String toString() { return (StringBuffer('OfflineRegion(') ..write('id: $id, ') ..write('name: $name, ') ..write('minLat: $minLat, ') ..write('minLon: $minLon, ') ..write('maxLat: $maxLat, ') ..write('maxLon: $maxLon, ') ..write('tilesSizeBytes: $tilesSizeBytes, ') ..write('routingSizeBytes: $routingSizeBytes, ') ..write('poisSizeBytes: $poisSizeBytes, ') ..write('downloadedAt: $downloadedAt, ') ..write('lastUpdated: $lastUpdated') ..write(')')) .toString(); } @override int get hashCode => Object.hash( id, name, minLat, minLon, maxLat, maxLon, tilesSizeBytes, routingSizeBytes, poisSizeBytes, downloadedAt, lastUpdated, ); @override bool operator ==(Object other) => identical(this, other) || (other is OfflineRegion && other.id == this.id && other.name == this.name && other.minLat == this.minLat && other.minLon == this.minLon && other.maxLat == this.maxLat && other.maxLon == this.maxLon && other.tilesSizeBytes == this.tilesSizeBytes && other.routingSizeBytes == this.routingSizeBytes && other.poisSizeBytes == this.poisSizeBytes && other.downloadedAt == this.downloadedAt && other.lastUpdated == this.lastUpdated); } class OfflineRegionsCompanion extends UpdateCompanion { final Value id; final Value name; final Value minLat; final Value minLon; final Value maxLat; final Value maxLon; final Value tilesSizeBytes; final Value routingSizeBytes; final Value poisSizeBytes; final Value downloadedAt; final Value lastUpdated; final Value rowid; const OfflineRegionsCompanion({ this.id = const Value.absent(), this.name = const Value.absent(), this.minLat = const Value.absent(), this.minLon = const Value.absent(), this.maxLat = const Value.absent(), this.maxLon = const Value.absent(), this.tilesSizeBytes = const Value.absent(), this.routingSizeBytes = const Value.absent(), this.poisSizeBytes = const Value.absent(), this.downloadedAt = const Value.absent(), this.lastUpdated = const Value.absent(), this.rowid = const Value.absent(), }); OfflineRegionsCompanion.insert({ required String id, required String name, required double minLat, required double minLon, required double maxLat, required double maxLon, required int tilesSizeBytes, required int routingSizeBytes, required int poisSizeBytes, required int downloadedAt, required int lastUpdated, this.rowid = const Value.absent(), }) : id = Value(id), name = Value(name), minLat = Value(minLat), minLon = Value(minLon), maxLat = Value(maxLat), maxLon = Value(maxLon), tilesSizeBytes = Value(tilesSizeBytes), routingSizeBytes = Value(routingSizeBytes), poisSizeBytes = Value(poisSizeBytes), downloadedAt = Value(downloadedAt), lastUpdated = Value(lastUpdated); static Insertable custom({ Expression? id, Expression? name, Expression? minLat, Expression? minLon, Expression? maxLat, Expression? maxLon, Expression? tilesSizeBytes, Expression? routingSizeBytes, Expression? poisSizeBytes, Expression? downloadedAt, Expression? lastUpdated, Expression? rowid, }) { return RawValuesInsertable({ if (id != null) 'id': id, if (name != null) 'name': name, if (minLat != null) 'min_lat': minLat, if (minLon != null) 'min_lon': minLon, if (maxLat != null) 'max_lat': maxLat, if (maxLon != null) 'max_lon': maxLon, if (tilesSizeBytes != null) 'tiles_size_bytes': tilesSizeBytes, if (routingSizeBytes != null) 'routing_size_bytes': routingSizeBytes, if (poisSizeBytes != null) 'pois_size_bytes': poisSizeBytes, if (downloadedAt != null) 'downloaded_at': downloadedAt, if (lastUpdated != null) 'last_updated': lastUpdated, if (rowid != null) 'rowid': rowid, }); } OfflineRegionsCompanion copyWith({ Value? id, Value? name, Value? minLat, Value? minLon, Value? maxLat, Value? maxLon, Value? tilesSizeBytes, Value? routingSizeBytes, Value? poisSizeBytes, Value? downloadedAt, Value? lastUpdated, Value? rowid, }) { return OfflineRegionsCompanion( id: id ?? this.id, name: name ?? this.name, minLat: minLat ?? this.minLat, minLon: minLon ?? this.minLon, maxLat: maxLat ?? this.maxLat, maxLon: maxLon ?? this.maxLon, tilesSizeBytes: tilesSizeBytes ?? this.tilesSizeBytes, routingSizeBytes: routingSizeBytes ?? this.routingSizeBytes, poisSizeBytes: poisSizeBytes ?? this.poisSizeBytes, downloadedAt: downloadedAt ?? this.downloadedAt, lastUpdated: lastUpdated ?? this.lastUpdated, rowid: rowid ?? this.rowid, ); } @override Map toColumns(bool nullToAbsent) { final map = {}; if (id.present) { map['id'] = Variable(id.value); } if (name.present) { map['name'] = Variable(name.value); } if (minLat.present) { map['min_lat'] = Variable(minLat.value); } if (minLon.present) { map['min_lon'] = Variable(minLon.value); } if (maxLat.present) { map['max_lat'] = Variable(maxLat.value); } if (maxLon.present) { map['max_lon'] = Variable(maxLon.value); } if (tilesSizeBytes.present) { map['tiles_size_bytes'] = Variable(tilesSizeBytes.value); } if (routingSizeBytes.present) { map['routing_size_bytes'] = Variable(routingSizeBytes.value); } if (poisSizeBytes.present) { map['pois_size_bytes'] = Variable(poisSizeBytes.value); } if (downloadedAt.present) { map['downloaded_at'] = Variable(downloadedAt.value); } if (lastUpdated.present) { map['last_updated'] = Variable(lastUpdated.value); } if (rowid.present) { map['rowid'] = Variable(rowid.value); } return map; } @override String toString() { return (StringBuffer('OfflineRegionsCompanion(') ..write('id: $id, ') ..write('name: $name, ') ..write('minLat: $minLat, ') ..write('minLon: $minLon, ') ..write('maxLat: $maxLat, ') ..write('maxLon: $maxLon, ') ..write('tilesSizeBytes: $tilesSizeBytes, ') ..write('routingSizeBytes: $routingSizeBytes, ') ..write('poisSizeBytes: $poisSizeBytes, ') ..write('downloadedAt: $downloadedAt, ') ..write('lastUpdated: $lastUpdated, ') ..write('rowid: $rowid') ..write(')')) .toString(); } } class $SettingsTable extends Settings with TableInfo<$SettingsTable, Setting> { @override final GeneratedDatabase attachedDatabase; final String? _alias; $SettingsTable(this.attachedDatabase, [this._alias]); static const VerificationMeta _keyMeta = const VerificationMeta('key'); @override late final GeneratedColumn key = GeneratedColumn( 'key', aliasedName, false, type: DriftSqlType.string, requiredDuringInsert: true, ); static const VerificationMeta _valueMeta = const VerificationMeta('value'); @override late final GeneratedColumn value = GeneratedColumn( 'value', aliasedName, false, type: DriftSqlType.string, requiredDuringInsert: true, ); @override List get $columns => [key, value]; @override String get aliasedName => _alias ?? actualTableName; @override String get actualTableName => $name; static const String $name = 'settings'; @override VerificationContext validateIntegrity( Insertable instance, { bool isInserting = false, }) { final context = VerificationContext(); final data = instance.toColumns(true); if (data.containsKey('key')) { context.handle( _keyMeta, key.isAcceptableOrUnknown(data['key']!, _keyMeta), ); } else if (isInserting) { context.missing(_keyMeta); } if (data.containsKey('value')) { context.handle( _valueMeta, value.isAcceptableOrUnknown(data['value']!, _valueMeta), ); } else if (isInserting) { context.missing(_valueMeta); } return context; } @override Set get $primaryKey => {key}; @override Setting map(Map data, {String? tablePrefix}) { final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; return Setting( key: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}key'], )!, value: attachedDatabase.typeMapping.read( DriftSqlType.string, data['${effectivePrefix}value'], )!, ); } @override $SettingsTable createAlias(String alias) { return $SettingsTable(attachedDatabase, alias); } } class Setting extends DataClass implements Insertable { final String key; final String value; const Setting({required this.key, required this.value}); @override Map toColumns(bool nullToAbsent) { final map = {}; map['key'] = Variable(key); map['value'] = Variable(value); return map; } SettingsCompanion toCompanion(bool nullToAbsent) { return SettingsCompanion(key: Value(key), value: Value(value)); } factory Setting.fromJson( Map json, { ValueSerializer? serializer, }) { serializer ??= driftRuntimeOptions.defaultSerializer; return Setting( key: serializer.fromJson(json['key']), value: serializer.fromJson(json['value']), ); } @override Map toJson({ValueSerializer? serializer}) { serializer ??= driftRuntimeOptions.defaultSerializer; return { 'key': serializer.toJson(key), 'value': serializer.toJson(value), }; } Setting copyWith({String? key, String? value}) => Setting(key: key ?? this.key, value: value ?? this.value); Setting copyWithCompanion(SettingsCompanion data) { return Setting( key: data.key.present ? data.key.value : this.key, value: data.value.present ? data.value.value : this.value, ); } @override String toString() { return (StringBuffer('Setting(') ..write('key: $key, ') ..write('value: $value') ..write(')')) .toString(); } @override int get hashCode => Object.hash(key, value); @override bool operator ==(Object other) => identical(this, other) || (other is Setting && other.key == this.key && other.value == this.value); } class SettingsCompanion extends UpdateCompanion { final Value key; final Value value; final Value rowid; const SettingsCompanion({ this.key = const Value.absent(), this.value = const Value.absent(), this.rowid = const Value.absent(), }); SettingsCompanion.insert({ required String key, required String value, this.rowid = const Value.absent(), }) : key = Value(key), value = Value(value); static Insertable custom({ Expression? key, Expression? value, Expression? rowid, }) { return RawValuesInsertable({ if (key != null) 'key': key, if (value != null) 'value': value, if (rowid != null) 'rowid': rowid, }); } SettingsCompanion copyWith({ Value? key, Value? value, Value? rowid, }) { return SettingsCompanion( key: key ?? this.key, value: value ?? this.value, rowid: rowid ?? this.rowid, ); } @override Map toColumns(bool nullToAbsent) { final map = {}; if (key.present) { map['key'] = Variable(key.value); } if (value.present) { map['value'] = Variable(value.value); } if (rowid.present) { map['rowid'] = Variable(rowid.value); } return map; } @override String toString() { return (StringBuffer('SettingsCompanion(') ..write('key: $key, ') ..write('value: $value, ') ..write('rowid: $rowid') ..write(')')) .toString(); } } abstract class _$AppDatabase extends GeneratedDatabase { _$AppDatabase(QueryExecutor e) : super(e); $AppDatabaseManager get managers => $AppDatabaseManager(this); late final $SearchHistoryTable searchHistory = $SearchHistoryTable(this); late final $FavoritesTable favorites = $FavoritesTable(this); late final $OfflineRegionsTable offlineRegions = $OfflineRegionsTable(this); late final $SettingsTable settings = $SettingsTable(this); @override Iterable> get allTables => allSchemaEntities.whereType>(); @override List get allSchemaEntities => [ searchHistory, favorites, offlineRegions, settings, ]; } typedef $$SearchHistoryTableCreateCompanionBuilder = SearchHistoryCompanion Function({ Value id, required String query, Value latitude, Value longitude, required int timestamp, }); typedef $$SearchHistoryTableUpdateCompanionBuilder = SearchHistoryCompanion Function({ Value id, Value query, Value latitude, Value longitude, Value timestamp, }); class $$SearchHistoryTableFilterComposer extends Composer<_$AppDatabase, $SearchHistoryTable> { $$SearchHistoryTableFilterComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); ColumnFilters get id => $composableBuilder( column: $table.id, builder: (column) => ColumnFilters(column), ); ColumnFilters get query => $composableBuilder( column: $table.query, builder: (column) => ColumnFilters(column), ); ColumnFilters get latitude => $composableBuilder( column: $table.latitude, builder: (column) => ColumnFilters(column), ); ColumnFilters get longitude => $composableBuilder( column: $table.longitude, builder: (column) => ColumnFilters(column), ); ColumnFilters get timestamp => $composableBuilder( column: $table.timestamp, builder: (column) => ColumnFilters(column), ); } class $$SearchHistoryTableOrderingComposer extends Composer<_$AppDatabase, $SearchHistoryTable> { $$SearchHistoryTableOrderingComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); ColumnOrderings get id => $composableBuilder( column: $table.id, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get query => $composableBuilder( column: $table.query, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get latitude => $composableBuilder( column: $table.latitude, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get longitude => $composableBuilder( column: $table.longitude, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get timestamp => $composableBuilder( column: $table.timestamp, builder: (column) => ColumnOrderings(column), ); } class $$SearchHistoryTableAnnotationComposer extends Composer<_$AppDatabase, $SearchHistoryTable> { $$SearchHistoryTableAnnotationComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); GeneratedColumn get query => $composableBuilder(column: $table.query, builder: (column) => column); GeneratedColumn get latitude => $composableBuilder(column: $table.latitude, builder: (column) => column); GeneratedColumn get longitude => $composableBuilder(column: $table.longitude, builder: (column) => column); GeneratedColumn get timestamp => $composableBuilder(column: $table.timestamp, builder: (column) => column); } class $$SearchHistoryTableTableManager extends RootTableManager< _$AppDatabase, $SearchHistoryTable, SearchHistoryData, $$SearchHistoryTableFilterComposer, $$SearchHistoryTableOrderingComposer, $$SearchHistoryTableAnnotationComposer, $$SearchHistoryTableCreateCompanionBuilder, $$SearchHistoryTableUpdateCompanionBuilder, ( SearchHistoryData, BaseReferences< _$AppDatabase, $SearchHistoryTable, SearchHistoryData >, ), SearchHistoryData, PrefetchHooks Function() > { $$SearchHistoryTableTableManager(_$AppDatabase db, $SearchHistoryTable table) : super( TableManagerState( db: db, table: table, createFilteringComposer: () => $$SearchHistoryTableFilterComposer($db: db, $table: table), createOrderingComposer: () => $$SearchHistoryTableOrderingComposer($db: db, $table: table), createComputedFieldComposer: () => $$SearchHistoryTableAnnotationComposer( $db: db, $table: table, ), updateCompanionCallback: ({ Value id = const Value.absent(), Value query = const Value.absent(), Value latitude = const Value.absent(), Value longitude = const Value.absent(), Value timestamp = const Value.absent(), }) => SearchHistoryCompanion( id: id, query: query, latitude: latitude, longitude: longitude, timestamp: timestamp, ), createCompanionCallback: ({ Value id = const Value.absent(), required String query, Value latitude = const Value.absent(), Value longitude = const Value.absent(), required int timestamp, }) => SearchHistoryCompanion.insert( id: id, query: query, latitude: latitude, longitude: longitude, timestamp: timestamp, ), withReferenceMapper: (p0) => p0 .map( (e) => ( e.readTable(table), BaseReferences(db, table, e), ), ) .toList(), prefetchHooksCallback: null, ), ); } typedef $$SearchHistoryTableProcessedTableManager = ProcessedTableManager< _$AppDatabase, $SearchHistoryTable, SearchHistoryData, $$SearchHistoryTableFilterComposer, $$SearchHistoryTableOrderingComposer, $$SearchHistoryTableAnnotationComposer, $$SearchHistoryTableCreateCompanionBuilder, $$SearchHistoryTableUpdateCompanionBuilder, ( SearchHistoryData, BaseReferences<_$AppDatabase, $SearchHistoryTable, SearchHistoryData>, ), SearchHistoryData, PrefetchHooks Function() >; typedef $$FavoritesTableCreateCompanionBuilder = FavoritesCompanion Function({ Value id, Value osmId, Value osmType, required String name, Value note, Value groupName, required double latitude, required double longitude, Value addressJson, required int createdAt, required int updatedAt, }); typedef $$FavoritesTableUpdateCompanionBuilder = FavoritesCompanion Function({ Value id, Value osmId, Value osmType, Value name, Value note, Value groupName, Value latitude, Value longitude, Value addressJson, Value createdAt, Value updatedAt, }); class $$FavoritesTableFilterComposer extends Composer<_$AppDatabase, $FavoritesTable> { $$FavoritesTableFilterComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); ColumnFilters get id => $composableBuilder( column: $table.id, builder: (column) => ColumnFilters(column), ); ColumnFilters get osmId => $composableBuilder( column: $table.osmId, builder: (column) => ColumnFilters(column), ); ColumnFilters get osmType => $composableBuilder( column: $table.osmType, builder: (column) => ColumnFilters(column), ); ColumnFilters get name => $composableBuilder( column: $table.name, builder: (column) => ColumnFilters(column), ); ColumnFilters get note => $composableBuilder( column: $table.note, builder: (column) => ColumnFilters(column), ); ColumnFilters get groupName => $composableBuilder( column: $table.groupName, builder: (column) => ColumnFilters(column), ); ColumnFilters get latitude => $composableBuilder( column: $table.latitude, builder: (column) => ColumnFilters(column), ); ColumnFilters get longitude => $composableBuilder( column: $table.longitude, builder: (column) => ColumnFilters(column), ); ColumnFilters get addressJson => $composableBuilder( column: $table.addressJson, builder: (column) => ColumnFilters(column), ); ColumnFilters get createdAt => $composableBuilder( column: $table.createdAt, builder: (column) => ColumnFilters(column), ); ColumnFilters get updatedAt => $composableBuilder( column: $table.updatedAt, builder: (column) => ColumnFilters(column), ); } class $$FavoritesTableOrderingComposer extends Composer<_$AppDatabase, $FavoritesTable> { $$FavoritesTableOrderingComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); ColumnOrderings get id => $composableBuilder( column: $table.id, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get osmId => $composableBuilder( column: $table.osmId, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get osmType => $composableBuilder( column: $table.osmType, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get name => $composableBuilder( column: $table.name, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get note => $composableBuilder( column: $table.note, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get groupName => $composableBuilder( column: $table.groupName, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get latitude => $composableBuilder( column: $table.latitude, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get longitude => $composableBuilder( column: $table.longitude, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get addressJson => $composableBuilder( column: $table.addressJson, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get createdAt => $composableBuilder( column: $table.createdAt, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get updatedAt => $composableBuilder( column: $table.updatedAt, builder: (column) => ColumnOrderings(column), ); } class $$FavoritesTableAnnotationComposer extends Composer<_$AppDatabase, $FavoritesTable> { $$FavoritesTableAnnotationComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); GeneratedColumn get osmId => $composableBuilder(column: $table.osmId, builder: (column) => column); GeneratedColumn get osmType => $composableBuilder(column: $table.osmType, builder: (column) => column); GeneratedColumn get name => $composableBuilder(column: $table.name, builder: (column) => column); GeneratedColumn get note => $composableBuilder(column: $table.note, builder: (column) => column); GeneratedColumn get groupName => $composableBuilder(column: $table.groupName, builder: (column) => column); GeneratedColumn get latitude => $composableBuilder(column: $table.latitude, builder: (column) => column); GeneratedColumn get longitude => $composableBuilder(column: $table.longitude, builder: (column) => column); GeneratedColumn get addressJson => $composableBuilder( column: $table.addressJson, builder: (column) => column, ); GeneratedColumn get createdAt => $composableBuilder(column: $table.createdAt, builder: (column) => column); GeneratedColumn get updatedAt => $composableBuilder(column: $table.updatedAt, builder: (column) => column); } class $$FavoritesTableTableManager extends RootTableManager< _$AppDatabase, $FavoritesTable, Favorite, $$FavoritesTableFilterComposer, $$FavoritesTableOrderingComposer, $$FavoritesTableAnnotationComposer, $$FavoritesTableCreateCompanionBuilder, $$FavoritesTableUpdateCompanionBuilder, (Favorite, BaseReferences<_$AppDatabase, $FavoritesTable, Favorite>), Favorite, PrefetchHooks Function() > { $$FavoritesTableTableManager(_$AppDatabase db, $FavoritesTable table) : super( TableManagerState( db: db, table: table, createFilteringComposer: () => $$FavoritesTableFilterComposer($db: db, $table: table), createOrderingComposer: () => $$FavoritesTableOrderingComposer($db: db, $table: table), createComputedFieldComposer: () => $$FavoritesTableAnnotationComposer($db: db, $table: table), updateCompanionCallback: ({ Value id = const Value.absent(), Value osmId = const Value.absent(), Value osmType = const Value.absent(), Value name = const Value.absent(), Value note = const Value.absent(), Value groupName = const Value.absent(), Value latitude = const Value.absent(), Value longitude = const Value.absent(), Value addressJson = const Value.absent(), Value createdAt = const Value.absent(), Value updatedAt = const Value.absent(), }) => FavoritesCompanion( id: id, osmId: osmId, osmType: osmType, name: name, note: note, groupName: groupName, latitude: latitude, longitude: longitude, addressJson: addressJson, createdAt: createdAt, updatedAt: updatedAt, ), createCompanionCallback: ({ Value id = const Value.absent(), Value osmId = const Value.absent(), Value osmType = const Value.absent(), required String name, Value note = const Value.absent(), Value groupName = const Value.absent(), required double latitude, required double longitude, Value addressJson = const Value.absent(), required int createdAt, required int updatedAt, }) => FavoritesCompanion.insert( id: id, osmId: osmId, osmType: osmType, name: name, note: note, groupName: groupName, latitude: latitude, longitude: longitude, addressJson: addressJson, createdAt: createdAt, updatedAt: updatedAt, ), withReferenceMapper: (p0) => p0 .map( (e) => ( e.readTable(table), BaseReferences(db, table, e), ), ) .toList(), prefetchHooksCallback: null, ), ); } typedef $$FavoritesTableProcessedTableManager = ProcessedTableManager< _$AppDatabase, $FavoritesTable, Favorite, $$FavoritesTableFilterComposer, $$FavoritesTableOrderingComposer, $$FavoritesTableAnnotationComposer, $$FavoritesTableCreateCompanionBuilder, $$FavoritesTableUpdateCompanionBuilder, (Favorite, BaseReferences<_$AppDatabase, $FavoritesTable, Favorite>), Favorite, PrefetchHooks Function() >; typedef $$OfflineRegionsTableCreateCompanionBuilder = OfflineRegionsCompanion Function({ required String id, required String name, required double minLat, required double minLon, required double maxLat, required double maxLon, required int tilesSizeBytes, required int routingSizeBytes, required int poisSizeBytes, required int downloadedAt, required int lastUpdated, Value rowid, }); typedef $$OfflineRegionsTableUpdateCompanionBuilder = OfflineRegionsCompanion Function({ Value id, Value name, Value minLat, Value minLon, Value maxLat, Value maxLon, Value tilesSizeBytes, Value routingSizeBytes, Value poisSizeBytes, Value downloadedAt, Value lastUpdated, Value rowid, }); class $$OfflineRegionsTableFilterComposer extends Composer<_$AppDatabase, $OfflineRegionsTable> { $$OfflineRegionsTableFilterComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); ColumnFilters get id => $composableBuilder( column: $table.id, builder: (column) => ColumnFilters(column), ); ColumnFilters get name => $composableBuilder( column: $table.name, builder: (column) => ColumnFilters(column), ); ColumnFilters get minLat => $composableBuilder( column: $table.minLat, builder: (column) => ColumnFilters(column), ); ColumnFilters get minLon => $composableBuilder( column: $table.minLon, builder: (column) => ColumnFilters(column), ); ColumnFilters get maxLat => $composableBuilder( column: $table.maxLat, builder: (column) => ColumnFilters(column), ); ColumnFilters get maxLon => $composableBuilder( column: $table.maxLon, builder: (column) => ColumnFilters(column), ); ColumnFilters get tilesSizeBytes => $composableBuilder( column: $table.tilesSizeBytes, builder: (column) => ColumnFilters(column), ); ColumnFilters get routingSizeBytes => $composableBuilder( column: $table.routingSizeBytes, builder: (column) => ColumnFilters(column), ); ColumnFilters get poisSizeBytes => $composableBuilder( column: $table.poisSizeBytes, builder: (column) => ColumnFilters(column), ); ColumnFilters get downloadedAt => $composableBuilder( column: $table.downloadedAt, builder: (column) => ColumnFilters(column), ); ColumnFilters get lastUpdated => $composableBuilder( column: $table.lastUpdated, builder: (column) => ColumnFilters(column), ); } class $$OfflineRegionsTableOrderingComposer extends Composer<_$AppDatabase, $OfflineRegionsTable> { $$OfflineRegionsTableOrderingComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); ColumnOrderings get id => $composableBuilder( column: $table.id, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get name => $composableBuilder( column: $table.name, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get minLat => $composableBuilder( column: $table.minLat, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get minLon => $composableBuilder( column: $table.minLon, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get maxLat => $composableBuilder( column: $table.maxLat, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get maxLon => $composableBuilder( column: $table.maxLon, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get tilesSizeBytes => $composableBuilder( column: $table.tilesSizeBytes, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get routingSizeBytes => $composableBuilder( column: $table.routingSizeBytes, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get poisSizeBytes => $composableBuilder( column: $table.poisSizeBytes, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get downloadedAt => $composableBuilder( column: $table.downloadedAt, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get lastUpdated => $composableBuilder( column: $table.lastUpdated, builder: (column) => ColumnOrderings(column), ); } class $$OfflineRegionsTableAnnotationComposer extends Composer<_$AppDatabase, $OfflineRegionsTable> { $$OfflineRegionsTableAnnotationComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); GeneratedColumn get name => $composableBuilder(column: $table.name, builder: (column) => column); GeneratedColumn get minLat => $composableBuilder(column: $table.minLat, builder: (column) => column); GeneratedColumn get minLon => $composableBuilder(column: $table.minLon, builder: (column) => column); GeneratedColumn get maxLat => $composableBuilder(column: $table.maxLat, builder: (column) => column); GeneratedColumn get maxLon => $composableBuilder(column: $table.maxLon, builder: (column) => column); GeneratedColumn get tilesSizeBytes => $composableBuilder( column: $table.tilesSizeBytes, builder: (column) => column, ); GeneratedColumn get routingSizeBytes => $composableBuilder( column: $table.routingSizeBytes, builder: (column) => column, ); GeneratedColumn get poisSizeBytes => $composableBuilder( column: $table.poisSizeBytes, builder: (column) => column, ); GeneratedColumn get downloadedAt => $composableBuilder( column: $table.downloadedAt, builder: (column) => column, ); GeneratedColumn get lastUpdated => $composableBuilder( column: $table.lastUpdated, builder: (column) => column, ); } class $$OfflineRegionsTableTableManager extends RootTableManager< _$AppDatabase, $OfflineRegionsTable, OfflineRegion, $$OfflineRegionsTableFilterComposer, $$OfflineRegionsTableOrderingComposer, $$OfflineRegionsTableAnnotationComposer, $$OfflineRegionsTableCreateCompanionBuilder, $$OfflineRegionsTableUpdateCompanionBuilder, ( OfflineRegion, BaseReferences<_$AppDatabase, $OfflineRegionsTable, OfflineRegion>, ), OfflineRegion, PrefetchHooks Function() > { $$OfflineRegionsTableTableManager( _$AppDatabase db, $OfflineRegionsTable table, ) : super( TableManagerState( db: db, table: table, createFilteringComposer: () => $$OfflineRegionsTableFilterComposer($db: db, $table: table), createOrderingComposer: () => $$OfflineRegionsTableOrderingComposer($db: db, $table: table), createComputedFieldComposer: () => $$OfflineRegionsTableAnnotationComposer( $db: db, $table: table, ), updateCompanionCallback: ({ Value id = const Value.absent(), Value name = const Value.absent(), Value minLat = const Value.absent(), Value minLon = const Value.absent(), Value maxLat = const Value.absent(), Value maxLon = const Value.absent(), Value tilesSizeBytes = const Value.absent(), Value routingSizeBytes = const Value.absent(), Value poisSizeBytes = const Value.absent(), Value downloadedAt = const Value.absent(), Value lastUpdated = const Value.absent(), Value rowid = const Value.absent(), }) => OfflineRegionsCompanion( id: id, name: name, minLat: minLat, minLon: minLon, maxLat: maxLat, maxLon: maxLon, tilesSizeBytes: tilesSizeBytes, routingSizeBytes: routingSizeBytes, poisSizeBytes: poisSizeBytes, downloadedAt: downloadedAt, lastUpdated: lastUpdated, rowid: rowid, ), createCompanionCallback: ({ required String id, required String name, required double minLat, required double minLon, required double maxLat, required double maxLon, required int tilesSizeBytes, required int routingSizeBytes, required int poisSizeBytes, required int downloadedAt, required int lastUpdated, Value rowid = const Value.absent(), }) => OfflineRegionsCompanion.insert( id: id, name: name, minLat: minLat, minLon: minLon, maxLat: maxLat, maxLon: maxLon, tilesSizeBytes: tilesSizeBytes, routingSizeBytes: routingSizeBytes, poisSizeBytes: poisSizeBytes, downloadedAt: downloadedAt, lastUpdated: lastUpdated, rowid: rowid, ), withReferenceMapper: (p0) => p0 .map( (e) => ( e.readTable(table), BaseReferences(db, table, e), ), ) .toList(), prefetchHooksCallback: null, ), ); } typedef $$OfflineRegionsTableProcessedTableManager = ProcessedTableManager< _$AppDatabase, $OfflineRegionsTable, OfflineRegion, $$OfflineRegionsTableFilterComposer, $$OfflineRegionsTableOrderingComposer, $$OfflineRegionsTableAnnotationComposer, $$OfflineRegionsTableCreateCompanionBuilder, $$OfflineRegionsTableUpdateCompanionBuilder, ( OfflineRegion, BaseReferences<_$AppDatabase, $OfflineRegionsTable, OfflineRegion>, ), OfflineRegion, PrefetchHooks Function() >; typedef $$SettingsTableCreateCompanionBuilder = SettingsCompanion Function({ required String key, required String value, Value rowid, }); typedef $$SettingsTableUpdateCompanionBuilder = SettingsCompanion Function({ Value key, Value value, Value rowid, }); class $$SettingsTableFilterComposer extends Composer<_$AppDatabase, $SettingsTable> { $$SettingsTableFilterComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); ColumnFilters get key => $composableBuilder( column: $table.key, builder: (column) => ColumnFilters(column), ); ColumnFilters get value => $composableBuilder( column: $table.value, builder: (column) => ColumnFilters(column), ); } class $$SettingsTableOrderingComposer extends Composer<_$AppDatabase, $SettingsTable> { $$SettingsTableOrderingComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); ColumnOrderings get key => $composableBuilder( column: $table.key, builder: (column) => ColumnOrderings(column), ); ColumnOrderings get value => $composableBuilder( column: $table.value, builder: (column) => ColumnOrderings(column), ); } class $$SettingsTableAnnotationComposer extends Composer<_$AppDatabase, $SettingsTable> { $$SettingsTableAnnotationComposer({ required super.$db, required super.$table, super.joinBuilder, super.$addJoinBuilderToRootComposer, super.$removeJoinBuilderFromRootComposer, }); GeneratedColumn get key => $composableBuilder(column: $table.key, builder: (column) => column); GeneratedColumn get value => $composableBuilder(column: $table.value, builder: (column) => column); } class $$SettingsTableTableManager extends RootTableManager< _$AppDatabase, $SettingsTable, Setting, $$SettingsTableFilterComposer, $$SettingsTableOrderingComposer, $$SettingsTableAnnotationComposer, $$SettingsTableCreateCompanionBuilder, $$SettingsTableUpdateCompanionBuilder, (Setting, BaseReferences<_$AppDatabase, $SettingsTable, Setting>), Setting, PrefetchHooks Function() > { $$SettingsTableTableManager(_$AppDatabase db, $SettingsTable table) : super( TableManagerState( db: db, table: table, createFilteringComposer: () => $$SettingsTableFilterComposer($db: db, $table: table), createOrderingComposer: () => $$SettingsTableOrderingComposer($db: db, $table: table), createComputedFieldComposer: () => $$SettingsTableAnnotationComposer($db: db, $table: table), updateCompanionCallback: ({ Value key = const Value.absent(), Value value = const Value.absent(), Value rowid = const Value.absent(), }) => SettingsCompanion(key: key, value: value, rowid: rowid), createCompanionCallback: ({ required String key, required String value, Value rowid = const Value.absent(), }) => SettingsCompanion.insert( key: key, value: value, rowid: rowid, ), withReferenceMapper: (p0) => p0 .map( (e) => ( e.readTable(table), BaseReferences(db, table, e), ), ) .toList(), prefetchHooksCallback: null, ), ); } typedef $$SettingsTableProcessedTableManager = ProcessedTableManager< _$AppDatabase, $SettingsTable, Setting, $$SettingsTableFilterComposer, $$SettingsTableOrderingComposer, $$SettingsTableAnnotationComposer, $$SettingsTableCreateCompanionBuilder, $$SettingsTableUpdateCompanionBuilder, (Setting, BaseReferences<_$AppDatabase, $SettingsTable, Setting>), Setting, PrefetchHooks Function() >; class $AppDatabaseManager { final _$AppDatabase _db; $AppDatabaseManager(this._db); $$SearchHistoryTableTableManager get searchHistory => $$SearchHistoryTableTableManager(_db, _db.searchHistory); $$FavoritesTableTableManager get favorites => $$FavoritesTableTableManager(_db, _db.favorites); $$OfflineRegionsTableTableManager get offlineRegions => $$OfflineRegionsTableTableManager(_db, _db.offlineRegions); $$SettingsTableTableManager get settings => $$SettingsTableTableManager(_db, _db.settings); }