| 1 | // GENERATED CODE - DO NOT MODIFY BY HAND |
| 2 | |
| 3 | part of 'flights_route_entity.dart'; |
| 4 | |
| 5 | // ************************************************************************** |
| 6 | // BuiltValueGenerator |
| 7 | // ************************************************************************** |
| 8 | |
| 9 | class _$FlightsRouteEntity extends FlightsRouteEntity |
| 10 | @override |
| 11 | final String from; |
| 12 | @override |
| 13 | final String to; |
| 14 | |
| 15 | factory _$FlightsRouteEntity( |
| 16 | [void Function(FlightsRouteEntityBuilder |
| 17 | (FlightsRouteEntityBuilder()..update(updates)). |
| 18 | |
| 19 | _$FlightsRouteEntity._({required this |
| 20 | @override |
| 21 | FlightsRouteEntity rebuild( |
| 22 | void Function(FlightsRouteEntityBuilder |
| 23 | (toBuilder()..update(updates)). |
| 24 | |
| 25 | @override |
| 26 | FlightsRouteEntityBuilder toBuilder() => |
| 27 | FlightsRouteEntityBuilder()..replace(this |
| 28 | |
| 29 | @override |
| 30 | bool operator ==(Object |
| 31 | if (identical(other, this |
| 32 | return other is FlightsRouteEntity |
| 33 | } |
| 34 | |
| 35 | @override |
| 36 | int get hashCode { |
| 37 | var _$hash = 0; |
| 38 | _$hash = $jc(_$hash, from. |
| 39 | _$hash = $jc(_$hash, to. |
| 40 | _$hash = $jf(_$hash); |
| 41 | return _$hash; |
| 42 | } |
| 43 | |
| 44 | @override |
| 45 | String toString() { |
| 46 | return (newBuiltValueToStringHelper(r'FlightsRouteEntity') |
| 47 | ..add('from', from) |
| 48 | ..add('to', to)) |
| 49 | .toString(); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | class FlightsRouteEntityBuilder |
| 54 | implements Builder<FlightsRouteEntity, |
| 55 | _$FlightsRouteEntity? _$v; |
| 56 | |
| 57 | String? _from; |
| 58 | String? get from => _$this |
| 59 | set from(String? |
| 60 | |
| 61 | String? _to; |
| 62 | String? get to => _$this |
| 63 | set to(String? |
| 64 | |
| 65 | FlightsRouteEntityBuilder() { |
| 66 | FlightsRouteEntity._defaults(this |
| 67 | } |
| 68 | |
| 69 | FlightsRouteEntityBuilder get _$this { |
| 70 | final $v = _$v; |
| 71 | if ($v != null) { |
| 72 | _from = $v.from; |
| 73 | _to = $v.to; |
| 74 | _$v = null; |
| 75 | } |
| 76 | return this; |
| 77 | } |
| 78 | |
| 79 | @override |
| 80 | void replace(FlightsRouteEntity |
| 81 | _$v = other as _$FlightsRouteEntity; |
| 82 | } |
| 83 | |
| 84 | @override |
| 85 | void update(void |
| 86 | if (updates != null) updates |
| 87 | } |
| 88 | |
| 89 | @override |
| 90 | FlightsRouteEntity build() => |
| 91 | |
| 92 | _$FlightsRouteEntity _build() { |
| 93 | final _$result = _$v ?? |
| 94 | _$FlightsRouteEntity._( |
| 95 | from: BuiltValueNullFieldError.checkNotNull( |
| 96 | from, r'FlightsRouteEntity', 'from'), |
| 97 | to: BuiltValueNullFieldError.checkNotNull( |
| 98 | to, r'FlightsRouteEntity', 'to'), |
| 99 | ); |
| 100 | replace(_$result); |
| 101 | return _$result; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | // ignore_for_file: deprecated_member_use_from_same_package,type=lint |