// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'delivery_service_value.dart';

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

class _$DeliveryServiceValue extends DeliveryServiceValue {
  @override
  final bool? boolValue;
  @override
  final String deliveryId;
  @override
  final int? numericValue;
  @override
  final String serviceId;

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

  _$DeliveryServiceValue._(
      {this.boolValue,
      required this.deliveryId,
      this.numericValue,
      required this.serviceId})
      : super._();
  @override
  DeliveryServiceValue rebuild(
          void Function(DeliveryServiceValueBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is DeliveryServiceValue &&
        boolValue == other.boolValue &&
        deliveryId == other.deliveryId &&
        numericValue == other.numericValue &&
        serviceId == other.serviceId;
  }

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

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'DeliveryServiceValue')
          ..add('boolValue', boolValue)
          ..add('deliveryId', deliveryId)
          ..add('numericValue', numericValue)
          ..add('serviceId', serviceId))
        .toString();
  }
}

class DeliveryServiceValueBuilder
    implements Builder<DeliveryServiceValue, DeliveryServiceValueBuilder> {
  _$DeliveryServiceValue? _$v;

  bool? _boolValue;
  bool? get boolValue => _$this._boolValue;
  set boolValue(bool? boolValue) => _$this._boolValue = boolValue;

  String? _deliveryId;
  String? get deliveryId => _$this._deliveryId;
  set deliveryId(String? deliveryId) => _$this._deliveryId = deliveryId;

  int? _numericValue;
  int? get numericValue => _$this._numericValue;
  set numericValue(int? numericValue) => _$this._numericValue = numericValue;

  String? _serviceId;
  String? get serviceId => _$this._serviceId;
  set serviceId(String? serviceId) => _$this._serviceId = serviceId;

  DeliveryServiceValueBuilder() {
    DeliveryServiceValue._defaults(this);
  }

  DeliveryServiceValueBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _boolValue = $v.boolValue;
      _deliveryId = $v.deliveryId;
      _numericValue = $v.numericValue;
      _serviceId = $v.serviceId;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$DeliveryServiceValue _build() {
    final _$result = _$v ??
        _$DeliveryServiceValue._(
          boolValue: boolValue,
          deliveryId: BuiltValueNullFieldError.checkNotNull(
              deliveryId, r'DeliveryServiceValue', 'deliveryId'),
          numericValue: numericValue,
          serviceId: BuiltValueNullFieldError.checkNotNull(
              serviceId, r'DeliveryServiceValue', 'serviceId'),
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
