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