// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'cancel_delivery_request.dart';

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

class _$CancelDeliveryRequest extends CancelDeliveryRequest {
  @override
  final String reason;

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

  _$CancelDeliveryRequest._({required this.reason}) : super._();
  @override
  CancelDeliveryRequest rebuild(
          void Function(CancelDeliveryRequestBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

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

class CancelDeliveryRequestBuilder
    implements Builder<CancelDeliveryRequest, CancelDeliveryRequestBuilder> {
  _$CancelDeliveryRequest? _$v;

  String? _reason;
  String? get reason => _$this._reason;
  set reason(String? reason) => _$this._reason = reason;

  CancelDeliveryRequestBuilder() {
    CancelDeliveryRequest._defaults(this);
  }

  CancelDeliveryRequestBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _reason = $v.reason;
      _$v = null;
    }
    return this;
  }

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

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
