| 1 | // GENERATED CODE - DO NOT MODIFY BY HAND |
| 2 | |
| 3 | part of 'airport_entity.dart'; |
| 4 | |
| 5 | // ************************************************************************** |
| 6 | // BuiltValueGenerator |
| 7 | // ************************************************************************** |
| 8 | |
| 9 | class _$AirportEntity extends AirportEntity |
| 10 | @override |
| 11 | final String id; |
| 12 | @override |
| 13 | final String ident; |
| 14 | @override |
| 15 | final AirportType type; |
| 16 | @override |
| 17 | final String? elevation; |
| 18 | @override |
| 19 | final String continent; |
| 20 | @override |
| 21 | final String isoCountry; |
| 22 | @override |
| 23 | final String isoRegion; |
| 24 | @override |
| 25 | final String? municipality; |
| 26 | @override |
| 27 | final String? gpsCode; |
| 28 | @override |
| 29 | final String? iataCode; |
| 30 | @override |
| 31 | final String name; |
| 32 | @override |
| 33 | final String lat; |
| 34 | @override |
| 35 | final String long; |
| 36 | |
| 37 | factory _$AirportEntity([void |
| 38 | (AirportEntityBuilder()..update(updates)). |
| 39 | |
| 40 | _$AirportEntity._( |
| 41 | {required this.id, |
| 42 | required this.ident, |
| 43 | required this.type, |
| 44 | this.elevation, |
| 45 | required this.continent, |
| 46 | required this.isoCountry, |
| 47 | required this.isoRegion, |
| 48 | this.municipality, |
| 49 | this.gpsCode, |
| 50 | this.iataCode, |
| 51 | required this.name, |
| 52 | required this.lat, |
| 53 | required this.long}) |
| 54 | : super._(); |
| 55 | @override |
| 56 | AirportEntity rebuild(void |
| 57 | (toBuilder()..update(updates)). |
| 58 | |
| 59 | @override |
| 60 | AirportEntityBuilder toBuilder() => |
| 61 | |
| 62 | @override |
| 63 | bool operator ==(Object |
| 64 | if (identical(other, this |
| 65 | return other is AirportEntity |
| 66 | id == other.id && |
| 67 | ident == other.ident && |
| 68 | type == other.type && |
| 69 | elevation == other.elevation && |
| 70 | continent == other.continent && |
| 71 | isoCountry == other.isoCountry && |
| 72 | isoRegion == other.isoRegion && |
| 73 | municipality == other.municipality && |
| 74 | gpsCode == other.gpsCode && |
| 75 | iataCode == other.iataCode && |
| 76 | name == other.name && |
| 77 | lat == other.lat && |
| 78 | long == other.long; |
| 79 | } |
| 80 | |
| 81 | @override |
| 82 | int get hashCode { |
| 83 | var _$hash = 0; |
| 84 | _$hash = $jc(_$hash, id. |
| 85 | _$hash = $jc(_$hash, ident. |
| 86 | _$hash = $jc(_$hash, type. |
| 87 | _$hash = $jc(_$hash, elevation. |
| 88 | _$hash = $jc(_$hash, continent. |
| 89 | _$hash = $jc(_$hash, isoCountry. |
| 90 | _$hash = $jc(_$hash, isoRegion. |
| 91 | _$hash = $jc(_$hash, municipality. |
| 92 | _$hash = $jc(_$hash, gpsCode. |
| 93 | _$hash = $jc(_$hash, iataCode. |
| 94 | _$hash = $jc(_$hash, name. |
| 95 | _$hash = $jc(_$hash, lat. |
| 96 | _$hash = $jc(_$hash, long. |
| 97 | _$hash = $jf(_$hash); |
| 98 | return _$hash; |
| 99 | } |
| 100 | |
| 101 | @override |
| 102 | String toString() { |
| 103 | return (newBuiltValueToStringHelper(r'AirportEntity') |
| 104 | ..add('id', id) |
| 105 | ..add('ident', ident) |
| 106 | ..add('type', type) |
| 107 | ..add('elevation', elevation) |
| 108 | ..add('continent', continent) |
| 109 | ..add('isoCountry', isoCountry) |
| 110 | ..add('isoRegion', isoRegion) |
| 111 | ..add('municipality', municipality) |
| 112 | ..add('gpsCode', gpsCode) |
| 113 | ..add('iataCode', iataCode) |
| 114 | ..add('name', name) |
| 115 | ..add('lat', lat) |
| 116 | ..add('long', long)) |
| 117 | .toString(); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | class AirportEntityBuilder |
| 122 | implements Builder<AirportEntity, |
| 123 | _$AirportEntity? _$v; |
| 124 | |
| 125 | String? _id; |
| 126 | String? get id => _$this |
| 127 | set id(String? |
| 128 | |
| 129 | String? _ident; |
| 130 | String? get ident => _$this |
| 131 | set ident(String? |
| 132 | |
| 133 | AirportType? _type; |
| 134 | AirportType? get type => _$this |
| 135 | set type(AirportType? |
| 136 | |
| 137 | String? _elevation; |
| 138 | String? get elevation => _$this |
| 139 | set elevation(String? |
| 140 | |
| 141 | String? _continent; |
| 142 | String? get continent => _$this |
| 143 | set continent(String? |
| 144 | |
| 145 | String? _isoCountry; |
| 146 | String? get isoCountry => _$this |
| 147 | set isoCountry(String? |
| 148 | |
| 149 | String? _isoRegion; |
| 150 | String? get isoRegion => _$this |
| 151 | set isoRegion(String? |
| 152 | |
| 153 | String? _municipality; |
| 154 | String? get municipality => _$this |
| 155 | set municipality(String? |
| 156 | |
| 157 | String? _gpsCode; |
| 158 | String? get gpsCode => _$this |
| 159 | set gpsCode(String? |
| 160 | |
| 161 | String? _iataCode; |
| 162 | String? get iataCode => _$this |
| 163 | set iataCode(String? |
| 164 | |
| 165 | String? _name; |
| 166 | String? get name => _$this |
| 167 | set name(String? |
| 168 | |
| 169 | String? _lat; |
| 170 | String? get lat => _$this |
| 171 | set lat(String? |
| 172 | |
| 173 | String? _long; |
| 174 | String? get long => _$this |
| 175 | set long(String? |
| 176 | |
| 177 | AirportEntityBuilder() { |
| 178 | AirportEntity._defaults(this |
| 179 | } |
| 180 | |
| 181 | AirportEntityBuilder get _$this { |
| 182 | final $v = _$v; |
| 183 | if ($v != null) { |
| 184 | _id = $v.id; |
| 185 | _ident = $v.ident; |
| 186 | _type = $v.type; |
| 187 | _elevation = $v.elevation; |
| 188 | _continent = $v.continent; |
| 189 | _isoCountry = $v.isoCountry; |
| 190 | _isoRegion = $v.isoRegion; |
| 191 | _municipality = $v.municipality; |
| 192 | _gpsCode = $v.gpsCode; |
| 193 | _iataCode = $v.iataCode; |
| 194 | _name = $v.name; |
| 195 | _lat = $v.lat; |
| 196 | _long = $v.long; |
| 197 | _$v = null; |
| 198 | } |
| 199 | return this; |
| 200 | } |
| 201 | |
| 202 | @override |
| 203 | void replace(AirportEntity |
| 204 | _$v = other as _$AirportEntity; |
| 205 | } |
| 206 | |
| 207 | @override |
| 208 | void update(void |
| 209 | if (updates != null) updates |
| 210 | } |
| 211 | |
| 212 | @override |
| 213 | AirportEntity build() => |
| 214 | |
| 215 | _$AirportEntity _build() { |
| 216 | final _$result = _$v ?? |
| 217 | _$AirportEntity._( |
| 218 | id: BuiltValueNullFieldError.checkNotNull(id |
| 219 | ident: BuiltValueNullFieldError.checkNotNull( |
| 220 | ident, r'AirportEntity', 'ident'), |
| 221 | type: BuiltValueNullFieldError.checkNotNull( |
| 222 | type, r'AirportEntity', 'type'), |
| 223 | elevation: elevation, |
| 224 | continent: BuiltValueNullFieldError.checkNotNull( |
| 225 | continent, r'AirportEntity', 'continent'), |
| 226 | isoCountry: BuiltValueNullFieldError.checkNotNull( |
| 227 | isoCountry, r'AirportEntity', 'isoCountry'), |
| 228 | isoRegion: BuiltValueNullFieldError.checkNotNull( |
| 229 | isoRegion, r'AirportEntity', 'isoRegion'), |
| 230 | municipality: municipality, |
| 231 | gpsCode: gpsCode, |
| 232 | iataCode: iataCode, |
| 233 | name: BuiltValueNullFieldError.checkNotNull( |
| 234 | name, r'AirportEntity', 'name'), |
| 235 | lat: BuiltValueNullFieldError.checkNotNull( |
| 236 | lat, r'AirportEntity', 'lat'), |
| 237 | long: BuiltValueNullFieldError.checkNotNull( |
| 238 | long, r'AirportEntity', 'long'), |
| 239 | ); |
| 240 | replace(_$result); |
| 241 | return _$result; |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | // ignore_for_file: deprecated_member_use_from_same_package,type=lint |