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