| 1 | // GENERATED CODE - DO NOT MODIFY BY HAND |
| 2 | |
| 3 | part of 'flight_summary_origin_entity.dart'; |
| 4 | |
| 5 | // ************************************************************************** |
| 6 | // BuiltValueGenerator |
| 7 | // ************************************************************************** |
| 8 | |
| 9 | class _$FlightSummaryOriginEntity extends FlightSummaryOriginEntity |
| 10 | @override |
| 11 | final String code; |
| 12 | @override |
| 13 | final String? codeIata; |
| 14 | @override |
| 15 | final String? codeIcao; |
| 16 | @override |
| 17 | final String? name; |
| 18 | @override |
| 19 | final String? city; |
| 20 | |
| 21 | factory _$FlightSummaryOriginEntity( |
| 22 | [void Function(FlightSummaryOriginEntityBuilder |
| 23 | (FlightSummaryOriginEntityBuilder()..update(updates)). |
| 24 | |
| 25 | _$FlightSummaryOriginEntity._( |
| 26 | {required this.code, |
| 27 | : super._(); |
| 28 | @override |
| 29 | FlightSummaryOriginEntity rebuild( |
| 30 | void Function(FlightSummaryOriginEntityBuilder |
| 31 | (toBuilder()..update(updates)). |
| 32 | |
| 33 | @override |
| 34 | FlightSummaryOriginEntityBuilder toBuilder() => |
| 35 | FlightSummaryOriginEntityBuilder()..replace(this |
| 36 | |
| 37 | @override |
| 38 | bool operator ==(Object |
| 39 | if (identical(other, this |
| 40 | return other is FlightSummaryOriginEntity |
| 41 | code == other.code && |
| 42 | codeIata == other.codeIata && |
| 43 | codeIcao == other.codeIcao && |
| 44 | name == other.name && |
| 45 | city == other.city; |
| 46 | } |
| 47 | |
| 48 | @override |
| 49 | int get hashCode { |
| 50 | var _$hash = 0; |
| 51 | _$hash = $jc(_$hash, code. |
| 52 | _$hash = $jc(_$hash, codeIata. |
| 53 | _$hash = $jc(_$hash, codeIcao. |
| 54 | _$hash = $jc(_$hash, name. |
| 55 | _$hash = $jc(_$hash, city. |
| 56 | _$hash = $jf(_$hash); |
| 57 | return _$hash; |
| 58 | } |
| 59 | |
| 60 | @override |
| 61 | String toString() { |
| 62 | return (newBuiltValueToStringHelper(r'FlightSummaryOriginEntity') |
| 63 | ..add('code', code) |
| 64 | ..add('codeIata', codeIata) |
| 65 | ..add('codeIcao', codeIcao) |
| 66 | ..add('name', name) |
| 67 | ..add('city', city)) |
| 68 | .toString(); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | class FlightSummaryOriginEntityBuilder |
| 73 | implements |
| 74 | Builder<FlightSummaryOriginEntity, FlightSummaryOriginEntityBuilder |
| 75 | _$FlightSummaryOriginEntity? _$v; |
| 76 | |
| 77 | String? _code; |
| 78 | String? get code => _$this |
| 79 | set code(String? |
| 80 | |
| 81 | String? _codeIata; |
| 82 | String? get codeIata => _$this |
| 83 | set codeIata(String? |
| 84 | |
| 85 | String? _codeIcao; |
| 86 | String? get codeIcao => _$this |
| 87 | set codeIcao(String? |
| 88 | |
| 89 | String? _name; |
| 90 | String? get name => _$this |
| 91 | set name(String? |
| 92 | |
| 93 | String? _city; |
| 94 | String? get city => _$this |
| 95 | set city(String? |
| 96 | |
| 97 | FlightSummaryOriginEntityBuilder() { |
| 98 | FlightSummaryOriginEntity._defaults(this |
| 99 | } |
| 100 | |
| 101 | FlightSummaryOriginEntityBuilder get _$this { |
| 102 | final $v = _$v; |
| 103 | if ($v != null) { |
| 104 | _code = $v.code; |
| 105 | _codeIata = $v.codeIata; |
| 106 | _codeIcao = $v.codeIcao; |
| 107 | _name = $v.name; |
| 108 | _city = $v.city; |
| 109 | _$v = null; |
| 110 | } |
| 111 | return this; |
| 112 | } |
| 113 | |
| 114 | @override |
| 115 | void replace(FlightSummaryOriginEntity |
| 116 | _$v = other as _$FlightSummaryOriginEntity; |
| 117 | } |
| 118 | |
| 119 | @override |
| 120 | void update(void |
| 121 | if (updates != null) updates |
| 122 | } |
| 123 | |
| 124 | @override |
| 125 | FlightSummaryOriginEntity build() => |
| 126 | |
| 127 | _$FlightSummaryOriginEntity _build() { |
| 128 | final _$result = _$v ?? |
| 129 | _$FlightSummaryOriginEntity._( |
| 130 | code: BuiltValueNullFieldError.checkNotNull( |
| 131 | code, r'FlightSummaryOriginEntity', 'code'), |
| 132 | codeIata: codeIata, |
| 133 | codeIcao: codeIcao, |
| 134 | name: name, |
| 135 | city: city, |
| 136 | ); |
| 137 | replace(_$result); |
| 138 | return _$result; |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | // ignore_for_file: deprecated_member_use_from_same_package,type=lint |