// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'delivery_order_entry.dart';

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

class _$DeliveryOrderEntry extends DeliveryOrderEntry {
  @override
  final String deliveryId;
  @override
  final int sortOrder;

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

  _$DeliveryOrderEntry._({required this.deliveryId, required this.sortOrder})
      : super._();
  @override
  DeliveryOrderEntry rebuild(
          void Function(DeliveryOrderEntryBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'DeliveryOrderEntry')
          ..add('deliveryId', deliveryId)
          ..add('sortOrder', sortOrder))
        .toString();
  }
}

class DeliveryOrderEntryBuilder
    implements Builder<DeliveryOrderEntry, DeliveryOrderEntryBuilder> {
  _$DeliveryOrderEntry? _$v;

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

  int? _sortOrder;
  int? get sortOrder => _$this._sortOrder;
  set sortOrder(int? sortOrder) => _$this._sortOrder = sortOrder;

  DeliveryOrderEntryBuilder() {
    DeliveryOrderEntry._defaults(this);
  }

  DeliveryOrderEntryBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _deliveryId = $v.deliveryId;
      _sortOrder = $v.sortOrder;
      _$v = null;
    }
    return this;
  }

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

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
