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