| 1 | // GENERATED CODE - DO NOT MODIFY BY HAND |
| 2 | |
| 3 | part of 'aircraft_entity.dart'; |
| 4 | |
| 5 | // ************************************************************************** |
| 6 | // BuiltValueGenerator |
| 7 | // ************************************************************************** |
| 8 | |
| 9 | class _$AircraftEntity extends AircraftEntity |
| 10 | @override |
| 11 | final String? modeS; |
| 12 | @override |
| 13 | final String? registration; |
| 14 | @override |
| 15 | final String? model; |
| 16 | @override |
| 17 | final String? image; |
| 18 | @override |
| 19 | final String? aircraftId; |
| 20 | @override |
| 21 | final String? age; |
| 22 | @override |
| 23 | final String? firstFlightDate; |
| 24 | @override |
| 25 | final String? deliveryDate; |
| 26 | @override |
| 27 | final bool? isFreighter; |
| 28 | @override |
| 29 | final String? attribution; |
| 30 | @override |
| 31 | final JsonObject? payload; |
| 32 | |
| 33 | factory _$AircraftEntity([void |
| 34 | (AircraftEntityBuilder()..update(updates)). |
| 35 | |
| 36 | _$AircraftEntity._( |
| 37 | {this.modeS, |
| 38 | this.registration, |
| 39 | this.model, |
| 40 | this.image, |
| 41 | this.aircraftId, |
| 42 | this.age, |
| 43 | this.firstFlightDate, |
| 44 | this.deliveryDate, |
| 45 | this.isFreighter, |
| 46 | this.attribution, |
| 47 | this.payload}) |
| 48 | : super._(); |
| 49 | @override |
| 50 | AircraftEntity rebuild(void |
| 51 | (toBuilder()..update(updates)). |
| 52 | |
| 53 | @override |
| 54 | AircraftEntityBuilder toBuilder() => |
| 55 | |
| 56 | @override |
| 57 | bool operator ==(Object |
| 58 | if (identical(other, this |
| 59 | return other is AircraftEntity |
| 60 | modeS == other.modeS && |
| 61 | registration == other.registration && |
| 62 | model == other.model && |
| 63 | image == other.image && |
| 64 | aircraftId == other.aircraftId && |
| 65 | age == other.age && |
| 66 | firstFlightDate == other.firstFlightDate && |
| 67 | deliveryDate == other.deliveryDate && |
| 68 | isFreighter == other.isFreighter && |
| 69 | attribution == other.attribution && |
| 70 | payload == other.payload; |
| 71 | } |
| 72 | |
| 73 | @override |
| 74 | int get hashCode { |
| 75 | var _$hash = 0; |
| 76 | _$hash = $jc(_$hash, modeS. |
| 77 | _$hash = $jc(_$hash, registration. |
| 78 | _$hash = $jc(_$hash, model. |
| 79 | _$hash = $jc(_$hash, image. |
| 80 | _$hash = $jc(_$hash, aircraftId. |
| 81 | _$hash = $jc(_$hash, age. |
| 82 | _$hash = $jc(_$hash, firstFlightDate. |
| 83 | _$hash = $jc(_$hash, deliveryDate. |
| 84 | _$hash = $jc(_$hash, isFreighter. |
| 85 | _$hash = $jc(_$hash, attribution. |
| 86 | _$hash = $jc(_$hash, payload. |
| 87 | _$hash = $jf(_$hash); |
| 88 | return _$hash; |
| 89 | } |
| 90 | |
| 91 | @override |
| 92 | String toString() { |
| 93 | return (newBuiltValueToStringHelper(r'AircraftEntity') |
| 94 | ..add('modeS', modeS) |
| 95 | ..add('registration', registration) |
| 96 | ..add('model', model) |
| 97 | ..add('image', image) |
| 98 | ..add('aircraftId', aircraftId) |
| 99 | ..add('age', age) |
| 100 | ..add('firstFlightDate', firstFlightDate) |
| 101 | ..add('deliveryDate', deliveryDate) |
| 102 | ..add('isFreighter', isFreighter) |
| 103 | ..add('attribution', attribution) |
| 104 | ..add('payload', payload)) |
| 105 | .toString(); |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | class AircraftEntityBuilder |
| 110 | implements Builder<AircraftEntity, |
| 111 | _$AircraftEntity? _$v; |
| 112 | |
| 113 | String? _modeS; |
| 114 | String? get modeS => _$this |
| 115 | set modeS(String? |
| 116 | |
| 117 | String? _registration; |
| 118 | String? get registration => _$this |
| 119 | set registration(String? |
| 120 | |
| 121 | String? _model; |
| 122 | String? get model => _$this |
| 123 | set model(String? |
| 124 | |
| 125 | String? _image; |
| 126 | String? get image => _$this |
| 127 | set image(String? |
| 128 | |
| 129 | String? _aircraftId; |
| 130 | String? get aircraftId => _$this |
| 131 | set aircraftId(String? |
| 132 | |
| 133 | String? _age; |
| 134 | String? get age => _$this |
| 135 | set age(String? |
| 136 | |
| 137 | String? _firstFlightDate; |
| 138 | String? get firstFlightDate => _$this |
| 139 | set firstFlightDate(String? |
| 140 | _$this._firstFlightDate = firstFlightDate; |
| 141 | |
| 142 | String? _deliveryDate; |
| 143 | String? get deliveryDate => _$this |
| 144 | set deliveryDate(String? |
| 145 | |
| 146 | bool? _isFreighter; |
| 147 | bool? get isFreighter => _$this |
| 148 | set isFreighter(bool? |
| 149 | |
| 150 | String? _attribution; |
| 151 | String? get attribution => _$this |
| 152 | set attribution(String? |
| 153 | |
| 154 | JsonObject? _payload; |
| 155 | JsonObject? get payload => _$this |
| 156 | set payload(JsonObject? |
| 157 | |
| 158 | AircraftEntityBuilder() { |
| 159 | AircraftEntity._defaults(this |
| 160 | } |
| 161 | |
| 162 | AircraftEntityBuilder get _$this { |
| 163 | final $v = _$v; |
| 164 | if ($v != null) { |
| 165 | _modeS = $v.modeS; |
| 166 | _registration = $v.registration; |
| 167 | _model = $v.model; |
| 168 | _image = $v.image; |
| 169 | _aircraftId = $v.aircraftId; |
| 170 | _age = $v.age; |
| 171 | _firstFlightDate = $v.firstFlightDate; |
| 172 | _deliveryDate = $v.deliveryDate; |
| 173 | _isFreighter = $v.isFreighter; |
| 174 | _attribution = $v.attribution; |
| 175 | _payload = $v.payload; |
| 176 | _$v = null; |
| 177 | } |
| 178 | return this; |
| 179 | } |
| 180 | |
| 181 | @override |
| 182 | void replace(AircraftEntity |
| 183 | _$v = other as _$AircraftEntity; |
| 184 | } |
| 185 | |
| 186 | @override |
| 187 | void update(void |
| 188 | if (updates != null) updates |
| 189 | } |
| 190 | |
| 191 | @override |
| 192 | AircraftEntity build() => |
| 193 | |
| 194 | _$AircraftEntity _build() { |
| 195 | final _$result = _$v ?? |
| 196 | _$AircraftEntity._( |
| 197 | modeS: modeS, |
| 198 | registration: registration, |
| 199 | model: model, |
| 200 | image: image, |
| 201 | aircraftId: aircraftId, |
| 202 | age: age, |
| 203 | firstFlightDate: firstFlightDate, |
| 204 | deliveryDate: deliveryDate, |
| 205 | isFreighter: isFreighter, |
| 206 | attribution: attribution, |
| 207 | payload: payload, |
| 208 | ); |
| 209 | replace(_$result); |
| 210 | return _$result; |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | // ignore_for_file: deprecated_member_use_from_same_package,type=lint |