| 1 | // GENERATED CODE - DO NOT MODIFY BY HAND |
| 2 | |
| 3 | part of 'flight_booking_entity.dart'; |
| 4 | |
| 5 | // ************************************************************************** |
| 6 | // BuiltValueGenerator |
| 7 | // ************************************************************************** |
| 8 | |
| 9 | const FlightBookingEntitySeatTypeEnum _$flightBookingEntitySeatTypeEnum_window = |
| 10 | const FlightBookingEntitySeatTypeEnum._('window' |
| 11 | const FlightBookingEntitySeatTypeEnum _$flightBookingEntitySeatTypeEnum_middle = |
| 12 | const FlightBookingEntitySeatTypeEnum._('middle' |
| 13 | const FlightBookingEntitySeatTypeEnum _$flightBookingEntitySeatTypeEnum_aisle = |
| 14 | const FlightBookingEntitySeatTypeEnum._('aisle' |
| 15 | const FlightBookingEntitySeatTypeEnum |
| 16 | _$flightBookingEntitySeatTypeEnum_jumpseat = |
| 17 | const FlightBookingEntitySeatTypeEnum._('jumpseat' |
| 18 | const FlightBookingEntitySeatTypeEnum |
| 19 | _$flightBookingEntitySeatTypeEnum_captain = |
| 20 | const FlightBookingEntitySeatTypeEnum._('captain' |
| 21 | const FlightBookingEntitySeatTypeEnum _$flightBookingEntitySeatTypeEnum_pilot = |
| 22 | const FlightBookingEntitySeatTypeEnum._('pilot' |
| 23 | const FlightBookingEntitySeatTypeEnum |
| 24 | _$flightBookingEntitySeatTypeEnum_copilot = |
| 25 | const FlightBookingEntitySeatTypeEnum._('copilot' |
| 26 | const FlightBookingEntitySeatTypeEnum |
| 27 | _$flightBookingEntitySeatTypeEnum_flightEngineer = |
| 28 | const FlightBookingEntitySeatTypeEnum._('flightEngineer' |
| 29 | const FlightBookingEntitySeatTypeEnum |
| 30 | _$flightBookingEntitySeatTypeEnum_flightAttendant = |
| 31 | const FlightBookingEntitySeatTypeEnum._('flightAttendant' |
| 32 | const FlightBookingEntitySeatTypeEnum |
| 33 | _$flightBookingEntitySeatTypeEnum_observer = |
| 34 | const FlightBookingEntitySeatTypeEnum._('observer' |
| 35 | const FlightBookingEntitySeatTypeEnum _$flightBookingEntitySeatTypeEnum_other = |
| 36 | const FlightBookingEntitySeatTypeEnum._('other' |
| 37 | |
| 38 | FlightBookingEntitySeatTypeEnum _$flightBookingEntitySeatTypeEnumValueOf( |
| 39 | String name) { |
| 40 | switch (name) { |
| 41 | case 'window': |
| 42 | return _$flightBookingEntitySeatTypeEnum_window; |
| 43 | case 'middle': |
| 44 | return _$flightBookingEntitySeatTypeEnum_middle; |
| 45 | case 'aisle': |
| 46 | return _$flightBookingEntitySeatTypeEnum_aisle; |
| 47 | case 'jumpseat': |
| 48 | return _$flightBookingEntitySeatTypeEnum_jumpseat; |
| 49 | case 'captain': |
| 50 | return _$flightBookingEntitySeatTypeEnum_captain; |
| 51 | case 'pilot': |
| 52 | return _$flightBookingEntitySeatTypeEnum_pilot; |
| 53 | case 'copilot': |
| 54 | return _$flightBookingEntitySeatTypeEnum_copilot; |
| 55 | case 'flightEngineer': |
| 56 | return _$flightBookingEntitySeatTypeEnum_flightEngineer; |
| 57 | case 'flightAttendant': |
| 58 | return _$flightBookingEntitySeatTypeEnum_flightAttendant; |
| 59 | case 'observer': |
| 60 | return _$flightBookingEntitySeatTypeEnum_observer; |
| 61 | case 'other': |
| 62 | return _$flightBookingEntitySeatTypeEnum_other; |
| 63 | default: |
| 64 | throw ArgumentError(name); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | final BuiltSet<FlightBookingEntitySeatTypeEnum |
| 69 | _$flightBookingEntitySeatTypeEnumValues = BuiltSet< |
| 70 | FlightBookingEntitySeatTypeEnum>(const <FlightBookingEntitySeatTypeEnum |
| 71 | _$flightBookingEntitySeatTypeEnum_window, |
| 72 | _$flightBookingEntitySeatTypeEnum_middle, |
| 73 | _$flightBookingEntitySeatTypeEnum_aisle, |
| 74 | _$flightBookingEntitySeatTypeEnum_jumpseat, |
| 75 | _$flightBookingEntitySeatTypeEnum_captain, |
| 76 | _$flightBookingEntitySeatTypeEnum_pilot, |
| 77 | _$flightBookingEntitySeatTypeEnum_copilot, |
| 78 | _$flightBookingEntitySeatTypeEnum_flightEngineer, |
| 79 | _$flightBookingEntitySeatTypeEnum_flightAttendant, |
| 80 | _$flightBookingEntitySeatTypeEnum_observer, |
| 81 | _$flightBookingEntitySeatTypeEnum_other, |
| 82 | ]); |
| 83 | |
| 84 | const FlightBookingEntitySeatingClassEnum |
| 85 | _$flightBookingEntitySeatingClassEnum_economy = |
| 86 | const FlightBookingEntitySeatingClassEnum._('economy' |
| 87 | const FlightBookingEntitySeatingClassEnum |
| 88 | _$flightBookingEntitySeatingClassEnum_premiumEconomy = |
| 89 | const FlightBookingEntitySeatingClassEnum._('premiumEconomy' |
| 90 | const FlightBookingEntitySeatingClassEnum |
| 91 | _$flightBookingEntitySeatingClassEnum_business = |
| 92 | const FlightBookingEntitySeatingClassEnum._('business' |
| 93 | const FlightBookingEntitySeatingClassEnum |
| 94 | _$flightBookingEntitySeatingClassEnum_first = |
| 95 | const FlightBookingEntitySeatingClassEnum._('first' |
| 96 | const FlightBookingEntitySeatingClassEnum |
| 97 | _$flightBookingEntitySeatingClassEnum_private = |
| 98 | const FlightBookingEntitySeatingClassEnum._('private' |
| 99 | const FlightBookingEntitySeatingClassEnum |
| 100 | _$flightBookingEntitySeatingClassEnum_other = |
| 101 | const FlightBookingEntitySeatingClassEnum._('other' |
| 102 | |
| 103 | FlightBookingEntitySeatingClassEnum |
| 104 | _$flightBookingEntitySeatingClassEnumValueOf(String name) { |
| 105 | switch (name) { |
| 106 | case 'economy': |
| 107 | return _$flightBookingEntitySeatingClassEnum_economy; |
| 108 | case 'premiumEconomy': |
| 109 | return _$flightBookingEntitySeatingClassEnum_premiumEconomy; |
| 110 | case 'business': |
| 111 | return _$flightBookingEntitySeatingClassEnum_business; |
| 112 | case 'first': |
| 113 | return _$flightBookingEntitySeatingClassEnum_first; |
| 114 | case 'private': |
| 115 | return _$flightBookingEntitySeatingClassEnum_private; |
| 116 | case 'other': |
| 117 | return _$flightBookingEntitySeatingClassEnum_other; |
| 118 | default: |
| 119 | throw ArgumentError(name); |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | final BuiltSet<FlightBookingEntitySeatingClassEnum |
| 124 | _$flightBookingEntitySeatingClassEnumValues = BuiltSet< |
| 125 | FlightBookingEntitySeatingClassEnum>(const <FlightBookingEntitySeatingClassEnum |
| 126 | _$flightBookingEntitySeatingClassEnum_economy, |
| 127 | _$flightBookingEntitySeatingClassEnum_premiumEconomy, |
| 128 | _$flightBookingEntitySeatingClassEnum_business, |
| 129 | _$flightBookingEntitySeatingClassEnum_first, |
| 130 | _$flightBookingEntitySeatingClassEnum_private, |
| 131 | _$flightBookingEntitySeatingClassEnum_other, |
| 132 | ]); |
| 133 | |
| 134 | const FlightBookingEntityReasonEnum _$flightBookingEntityReasonEnum_personal = |
| 135 | const FlightBookingEntityReasonEnum._('personal' |
| 136 | const FlightBookingEntityReasonEnum _$flightBookingEntityReasonEnum_business = |
| 137 | const FlightBookingEntityReasonEnum._('business' |
| 138 | const FlightBookingEntityReasonEnum _$flightBookingEntityReasonEnum_crew = |
| 139 | const FlightBookingEntityReasonEnum._('crew' |
| 140 | const FlightBookingEntityReasonEnum _$flightBookingEntityReasonEnum_training = |
| 141 | const FlightBookingEntityReasonEnum._('training' |
| 142 | const FlightBookingEntityReasonEnum |
| 143 | _$flightBookingEntityReasonEnum_repositioning = |
| 144 | const FlightBookingEntityReasonEnum._('repositioning' |
| 145 | const FlightBookingEntityReasonEnum _$flightBookingEntityReasonEnum_other = |
| 146 | const FlightBookingEntityReasonEnum._('other' |
| 147 | |
| 148 | FlightBookingEntityReasonEnum _$flightBookingEntityReasonEnumValueOf( |
| 149 | String name) { |
| 150 | switch (name) { |
| 151 | case 'personal': |
| 152 | return _$flightBookingEntityReasonEnum_personal; |
| 153 | case 'business': |
| 154 | return _$flightBookingEntityReasonEnum_business; |
| 155 | case 'crew': |
| 156 | return _$flightBookingEntityReasonEnum_crew; |
| 157 | case 'training': |
| 158 | return _$flightBookingEntityReasonEnum_training; |
| 159 | case 'repositioning': |
| 160 | return _$flightBookingEntityReasonEnum_repositioning; |
| 161 | case 'other': |
| 162 | return _$flightBookingEntityReasonEnum_other; |
| 163 | default: |
| 164 | throw ArgumentError(name); |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | final BuiltSet<FlightBookingEntityReasonEnum |
| 169 | _$flightBookingEntityReasonEnumValues = BuiltSet< |
| 170 | FlightBookingEntityReasonEnum>(const <FlightBookingEntityReasonEnum |
| 171 | _$flightBookingEntityReasonEnum_personal, |
| 172 | _$flightBookingEntityReasonEnum_business, |
| 173 | _$flightBookingEntityReasonEnum_crew, |
| 174 | _$flightBookingEntityReasonEnum_training, |
| 175 | _$flightBookingEntityReasonEnum_repositioning, |
| 176 | _$flightBookingEntityReasonEnum_other, |
| 177 | ]); |
| 178 | |
| 179 | Serializer<FlightBookingEntitySeatTypeEnum> |
| 180 | _$flightBookingEntitySeatTypeEnumSerializer = |
| 181 | _$FlightBookingEntitySeatTypeEnumSerializer(); |
| 182 | Serializer<FlightBookingEntitySeatingClassEnum> |
| 183 | _$flightBookingEntitySeatingClassEnumSerializer = |
| 184 | _$FlightBookingEntitySeatingClassEnumSerializer(); |
| 185 | Serializer<FlightBookingEntityReasonEnum> |
| 186 | _$flightBookingEntityReasonEnumSerializer = |
| 187 | _$FlightBookingEntityReasonEnumSerializer(); |
| 188 | |
| 189 | class _$FlightBookingEntitySeatTypeEnumSerializer |
| 190 | implements PrimitiveSerializer<FlightBookingEntitySeatTypeEnum> { |
| 191 | static const Map |
| 192 | 'window': 'window', |
| 193 | 'middle': 'middle', |
| 194 | 'aisle': 'aisle', |
| 195 | 'jumpseat': 'jumpseat', |
| 196 | 'captain': 'captain', |
| 197 | 'pilot': 'pilot', |
| 198 | 'copilot': 'copilot', |
| 199 | 'flightEngineer': 'flight_engineer', |
| 200 | 'flightAttendant': 'flight_attendant', |
| 201 | 'observer': 'observer', |
| 202 | 'other': 'other', |
| 203 | }; |
| 204 | static const Map |
| 205 | 'window': 'window', |
| 206 | 'middle': 'middle', |
| 207 | 'aisle': 'aisle', |
| 208 | 'jumpseat': 'jumpseat', |
| 209 | 'captain': 'captain', |
| 210 | 'pilot': 'pilot', |
| 211 | 'copilot': 'copilot', |
| 212 | 'flight_engineer': 'flightEngineer', |
| 213 | 'flight_attendant': 'flightAttendant', |
| 214 | 'observer': 'observer', |
| 215 | 'other': 'other', |
| 216 | }; |
| 217 | |
| 218 | @override |
| 219 | final Iterable<Type |
| 220 | @override |
| 221 | final String wireName = |
| 222 | |
| 223 | @override |
| 224 | Object serialize( |
| 225 | Serializers serializers, FlightBookingEntitySeatTypeEnum object |
| 226 | {FullType specifiedType = FullType. |
| 227 | _toWire[object.name] ?? object.name; |
| 228 | |
| 229 | @override |
| 230 | FlightBookingEntitySeatTypeEnum deserialize( |
| 231 | Serializers serializers, Object serialized |
| 232 | {FullType specifiedType = FullType. |
| 233 | FlightBookingEntitySeatTypeEnum.valueOf( |
| 234 | _fromWire[serialized] ?? (serialized is String ? |
| 235 | } |
| 236 | |
| 237 | class _$FlightBookingEntitySeatingClassEnumSerializer |
| 238 | implements PrimitiveSerializer<FlightBookingEntitySeatingClassEnum> { |
| 239 | static const Map |
| 240 | 'economy': 'economy', |
| 241 | 'premiumEconomy': 'premium_economy', |
| 242 | 'business': 'business', |
| 243 | 'first': 'first', |
| 244 | 'private': 'private', |
| 245 | 'other': 'other', |
| 246 | }; |
| 247 | static const Map |
| 248 | 'economy': 'economy', |
| 249 | 'premium_economy': 'premiumEconomy', |
| 250 | 'business': 'business', |
| 251 | 'first': 'first', |
| 252 | 'private': 'private', |
| 253 | 'other': 'other', |
| 254 | }; |
| 255 | |
| 256 | @override |
| 257 | final Iterable<Type |
| 258 | FlightBookingEntitySeatingClassEnum |
| 259 | ]; |
| 260 | @override |
| 261 | final String wireName = |
| 262 | |
| 263 | @override |
| 264 | Object serialize( |
| 265 | Serializers serializers, FlightBookingEntitySeatingClassEnum object |
| 266 | {FullType specifiedType = FullType. |
| 267 | _toWire[object.name] ?? object.name; |
| 268 | |
| 269 | @override |
| 270 | FlightBookingEntitySeatingClassEnum deserialize( |
| 271 | Serializers serializers, Object serialized |
| 272 | {FullType specifiedType = FullType. |
| 273 | FlightBookingEntitySeatingClassEnum.valueOf( |
| 274 | _fromWire[serialized] ?? (serialized is String ? |
| 275 | } |
| 276 | |
| 277 | class _$FlightBookingEntityReasonEnumSerializer |
| 278 | implements PrimitiveSerializer<FlightBookingEntityReasonEnum> { |
| 279 | static const Map |
| 280 | 'personal': 'personal', |
| 281 | 'business': 'business', |
| 282 | 'crew': 'crew', |
| 283 | 'training': 'training', |
| 284 | 'repositioning': 'repositioning', |
| 285 | 'other': 'other', |
| 286 | }; |
| 287 | static const Map |
| 288 | 'personal': 'personal', |
| 289 | 'business': 'business', |
| 290 | 'crew': 'crew', |
| 291 | 'training': 'training', |
| 292 | 'repositioning': 'repositioning', |
| 293 | 'other': 'other', |
| 294 | }; |
| 295 | |
| 296 | @override |
| 297 | final Iterable<Type |
| 298 | @override |
| 299 | final String wireName = |
| 300 | |
| 301 | @override |
| 302 | Object serialize( |
| 303 | Serializers serializers, FlightBookingEntityReasonEnum object |
| 304 | {FullType specifiedType = FullType. |
| 305 | _toWire[object.name] ?? object.name; |
| 306 | |
| 307 | @override |
| 308 | FlightBookingEntityReasonEnum deserialize( |
| 309 | Serializers serializers, Object serialized |
| 310 | {FullType specifiedType = FullType. |
| 311 | FlightBookingEntityReasonEnum.valueOf( |
| 312 | _fromWire[serialized] ?? (serialized is String ? |
| 313 | } |
| 314 | |
| 315 | class _$FlightBookingEntity extends FlightBookingEntity |
| 316 | @override |
| 317 | final String id; |
| 318 | @override |
| 319 | final JsonObject? bookingCode; |
| 320 | @override |
| 321 | final JsonObject? seatNumber; |
| 322 | @override |
| 323 | final FlightBookingEntitySeatTypeEnum? seatType; |
| 324 | @override |
| 325 | final FlightBookingEntitySeatingClassEnum? seatingClass; |
| 326 | @override |
| 327 | final FlightBookingEntityReasonEnum? reason; |
| 328 | @override |
| 329 | final JsonObject? notes; |
| 330 | @override |
| 331 | final String flightId; |
| 332 | @override |
| 333 | final String userId; |
| 334 | @override |
| 335 | final DateTime createdAt; |
| 336 | @override |
| 337 | final DateTime updatedAt; |
| 338 | |
| 339 | factory _$FlightBookingEntity( |
| 340 | [void Function(FlightBookingEntityBuilder |
| 341 | (FlightBookingEntityBuilder()..update(updates)). |
| 342 | |
| 343 | _$FlightBookingEntity._( |
| 344 | {required this.id, |
| 345 | this.bookingCode, |
| 346 | this.seatNumber, |
| 347 | this.seatType, |
| 348 | this.seatingClass, |
| 349 | this.reason, |
| 350 | this.notes, |
| 351 | required this.flightId, |
| 352 | required this.userId, |
| 353 | required this.createdAt, |
| 354 | required this.updatedAt}) |
| 355 | : super._(); |
| 356 | @override |
| 357 | FlightBookingEntity rebuild( |
| 358 | void Function(FlightBookingEntityBuilder |
| 359 | (toBuilder()..update(updates)). |
| 360 | |
| 361 | @override |
| 362 | FlightBookingEntityBuilder toBuilder() => |
| 363 | FlightBookingEntityBuilder()..replace(this |
| 364 | |
| 365 | @override |
| 366 | bool operator ==(Object |
| 367 | if (identical(other, this |
| 368 | return other is FlightBookingEntity |
| 369 | id == other.id && |
| 370 | bookingCode == other.bookingCode && |
| 371 | seatNumber == other.seatNumber && |
| 372 | seatType == other.seatType && |
| 373 | seatingClass == other.seatingClass && |
| 374 | reason == other.reason && |
| 375 | notes == other.notes && |
| 376 | flightId == other.flightId && |
| 377 | userId == other.userId && |
| 378 | createdAt == other.createdAt && |
| 379 | updatedAt == other.updatedAt; |
| 380 | } |
| 381 | |
| 382 | @override |
| 383 | int get hashCode { |
| 384 | var _$hash = 0; |
| 385 | _$hash = $jc(_$hash, id. |
| 386 | _$hash = $jc(_$hash, bookingCode. |
| 387 | _$hash = $jc(_$hash, seatNumber. |
| 388 | _$hash = $jc(_$hash, seatType. |
| 389 | _$hash = $jc(_$hash, seatingClass. |
| 390 | _$hash = $jc(_$hash, reason. |
| 391 | _$hash = $jc(_$hash, notes. |
| 392 | _$hash = $jc(_$hash, flightId. |
| 393 | _$hash = $jc(_$hash, userId. |
| 394 | _$hash = $jc(_$hash, createdAt. |
| 395 | _$hash = $jc(_$hash, updatedAt. |
| 396 | _$hash = $jf(_$hash); |
| 397 | return _$hash; |
| 398 | } |
| 399 | |
| 400 | @override |
| 401 | String toString() { |
| 402 | return (newBuiltValueToStringHelper(r'FlightBookingEntity') |
| 403 | ..add('id', id) |
| 404 | ..add('bookingCode', bookingCode) |
| 405 | ..add('seatNumber', seatNumber) |
| 406 | ..add('seatType', seatType) |
| 407 | ..add('seatingClass', seatingClass) |
| 408 | ..add('reason', reason) |
| 409 | ..add('notes', notes) |
| 410 | ..add('flightId', flightId) |
| 411 | ..add('userId', userId) |
| 412 | ..add('createdAt', createdAt) |
| 413 | ..add('updatedAt', updatedAt)) |
| 414 | .toString(); |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | class FlightBookingEntityBuilder |
| 419 | implements Builder<FlightBookingEntity, |
| 420 | _$FlightBookingEntity? _$v; |
| 421 | |
| 422 | String? _id; |
| 423 | String? get id => _$this |
| 424 | set id(String? |
| 425 | |
| 426 | JsonObject? _bookingCode; |
| 427 | JsonObject? get bookingCode => _$this |
| 428 | set bookingCode(JsonObject? |
| 429 | |
| 430 | JsonObject? _seatNumber; |
| 431 | JsonObject? get seatNumber => _$this |
| 432 | set seatNumber(JsonObject? |
| 433 | |
| 434 | FlightBookingEntitySeatTypeEnum? _seatType; |
| 435 | FlightBookingEntitySeatTypeEnum? get seatType => _$this |
| 436 | set seatType(FlightBookingEntitySeatTypeEnum? |
| 437 | _$this._seatType = seatType; |
| 438 | |
| 439 | FlightBookingEntitySeatingClassEnum? _seatingClass; |
| 440 | FlightBookingEntitySeatingClassEnum? get seatingClass => _$this |
| 441 | set seatingClass(FlightBookingEntitySeatingClassEnum? |
| 442 | _$this._seatingClass = seatingClass; |
| 443 | |
| 444 | FlightBookingEntityReasonEnum? _reason; |
| 445 | FlightBookingEntityReasonEnum? get reason => _$this |
| 446 | set reason(FlightBookingEntityReasonEnum? |
| 447 | |
| 448 | JsonObject? _notes; |
| 449 | JsonObject? get notes => _$this |
| 450 | set notes(JsonObject? |
| 451 | |
| 452 | String? _flightId; |
| 453 | String? get flightId => _$this |
| 454 | set flightId(String? |
| 455 | |
| 456 | String? _userId; |
| 457 | String? get userId => _$this |
| 458 | set userId(String? |
| 459 | |
| 460 | DateTime? _createdAt; |
| 461 | DateTime? get createdAt => _$this |
| 462 | set createdAt(DateTime? |
| 463 | |
| 464 | DateTime? _updatedAt; |
| 465 | DateTime? get updatedAt => _$this |
| 466 | set updatedAt(DateTime? |
| 467 | |
| 468 | FlightBookingEntityBuilder() { |
| 469 | FlightBookingEntity._defaults(this |
| 470 | } |
| 471 | |
| 472 | FlightBookingEntityBuilder get _$this { |
| 473 | final $v = _$v; |
| 474 | if ($v != null) { |
| 475 | _id = $v.id; |
| 476 | _bookingCode = $v.bookingCode; |
| 477 | _seatNumber = $v.seatNumber; |
| 478 | _seatType = $v.seatType; |
| 479 | _seatingClass = $v.seatingClass; |
| 480 | _reason = $v.reason; |
| 481 | _notes = $v.notes; |
| 482 | _flightId = $v.flightId; |
| 483 | _userId = $v.userId; |
| 484 | _createdAt = $v.createdAt; |
| 485 | _updatedAt = $v.updatedAt; |
| 486 | _$v = null; |
| 487 | } |
| 488 | return this; |
| 489 | } |
| 490 | |
| 491 | @override |
| 492 | void replace(FlightBookingEntity |
| 493 | _$v = other as _$FlightBookingEntity; |
| 494 | } |
| 495 | |
| 496 | @override |
| 497 | void update(void |
| 498 | if (updates != null) updates |
| 499 | } |
| 500 | |
| 501 | @override |
| 502 | FlightBookingEntity build() => |
| 503 | |
| 504 | _$FlightBookingEntity _build() { |
| 505 | final _$result = _$v ?? |
| 506 | _$FlightBookingEntity._( |
| 507 | id: BuiltValueNullFieldError.checkNotNull( |
| 508 | id, r'FlightBookingEntity', 'id'), |
| 509 | bookingCode: bookingCode, |
| 510 | seatNumber: seatNumber, |
| 511 | seatType: seatType, |
| 512 | seatingClass: seatingClass, |
| 513 | reason: reason, |
| 514 | notes: notes, |
| 515 | flightId: BuiltValueNullFieldError.checkNotNull( |
| 516 | flightId, r'FlightBookingEntity', 'flightId'), |
| 517 | userId: BuiltValueNullFieldError.checkNotNull( |
| 518 | userId, r'FlightBookingEntity', 'userId'), |
| 519 | createdAt: BuiltValueNullFieldError.checkNotNull( |
| 520 | createdAt, r'FlightBookingEntity', 'createdAt'), |
| 521 | updatedAt: BuiltValueNullFieldError.checkNotNull( |
| 522 | updatedAt, r'FlightBookingEntity', 'updatedAt'), |
| 523 | ); |
| 524 | replace(_$result); |
| 525 | return _$result; |
| 526 | } |
| 527 | } |
| 528 | |
| 529 | // ignore_for_file: deprecated_member_use_from_same_package,type=lint |