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