// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'delivery_response.dart';

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

class _$DeliveryResponse extends DeliveryResponse {
  @override
  final Delivery delivery;

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

  _$DeliveryResponse._({required this.delivery}) : super._();
  @override
  DeliveryResponse rebuild(void Function(DeliveryResponseBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is DeliveryResponse && delivery == other.delivery;
  }

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

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'DeliveryResponse')
          ..add('delivery', delivery))
        .toString();
  }
}

class DeliveryResponseBuilder
    implements Builder<DeliveryResponse, DeliveryResponseBuilder> {
  _$DeliveryResponse? _$v;

  Delivery? _delivery;
  Delivery? get delivery => _$this._delivery;
  set delivery(Delivery? delivery) => _$this._delivery = delivery;

  DeliveryResponseBuilder() {
    DeliveryResponse._defaults(this);
  }

  DeliveryResponseBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _delivery = $v.delivery;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$DeliveryResponse _build() {
    final _$result = _$v ??
        _$DeliveryResponse._(
          delivery: BuiltValueNullFieldError.checkNotNull(
              delivery, r'DeliveryResponse', 'delivery'),
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
