// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'tour_summary.dart';

// **************************************************************************
// BuiltValueGenerator
// **************************************************************************

class _$TourSummary extends TourSummary {
  @override
  final int deliveryCount;
  @override
  final Date tourDate;
  @override
  final String tourId;

  factory _$TourSummary([void Function(TourSummaryBuilder)? updates]) =>
      (TourSummaryBuilder()..update(updates))._build();

  _$TourSummary._(
      {required this.deliveryCount,
      required this.tourDate,
      required this.tourId})
      : super._();
  @override
  TourSummary rebuild(void Function(TourSummaryBuilder) updates) =>
      (toBuilder()..update(updates)).build();

  @override
  TourSummaryBuilder toBuilder() => TourSummaryBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is TourSummary &&
        deliveryCount == other.deliveryCount &&
        tourDate == other.tourDate &&
        tourId == other.tourId;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, deliveryCount.hashCode);
    _$hash = $jc(_$hash, tourDate.hashCode);
    _$hash = $jc(_$hash, tourId.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'TourSummary')
          ..add('deliveryCount', deliveryCount)
          ..add('tourDate', tourDate)
          ..add('tourId', tourId))
        .toString();
  }
}

class TourSummaryBuilder implements Builder<TourSummary, TourSummaryBuilder> {
  _$TourSummary? _$v;

  int? _deliveryCount;
  int? get deliveryCount => _$this._deliveryCount;
  set deliveryCount(int? deliveryCount) =>
      _$this._deliveryCount = deliveryCount;

  Date? _tourDate;
  Date? get tourDate => _$this._tourDate;
  set tourDate(Date? tourDate) => _$this._tourDate = tourDate;

  String? _tourId;
  String? get tourId => _$this._tourId;
  set tourId(String? tourId) => _$this._tourId = tourId;

  TourSummaryBuilder() {
    TourSummary._defaults(this);
  }

  TourSummaryBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _deliveryCount = $v.deliveryCount;
      _tourDate = $v.tourDate;
      _tourId = $v.tourId;
      _$v = null;
    }
    return this;
  }

  @override
  void replace(TourSummary other) {
    _$v = other as _$TourSummary;
  }

  @override
  void update(void Function(TourSummaryBuilder)? updates) {
    if (updates != null) updates(this);
  }

  @override
  TourSummary build() => _build();

  _$TourSummary _build() {
    final _$result = _$v ??
        _$TourSummary._(
          deliveryCount: BuiltValueNullFieldError.checkNotNull(
              deliveryCount, r'TourSummary', 'deliveryCount'),
          tourDate: BuiltValueNullFieldError.checkNotNull(
              tourDate, r'TourSummary', 'tourDate'),
          tourId: BuiltValueNullFieldError.checkNotNull(
              tourId, r'TourSummary', 'tourId'),
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
