// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'assign_car_request.dart';

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

class _$AssignCarRequest extends AssignCarRequest {
  @override
  final String? carId;

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

  _$AssignCarRequest._({this.carId}) : super._();
  @override
  AssignCarRequest rebuild(void Function(AssignCarRequestBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

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

class AssignCarRequestBuilder
    implements Builder<AssignCarRequest, AssignCarRequestBuilder> {
  _$AssignCarRequest? _$v;

  String? _carId;
  String? get carId => _$this._carId;
  set carId(String? carId) => _$this._carId = carId;

  AssignCarRequestBuilder() {
    AssignCarRequest._defaults(this);
  }

  AssignCarRequestBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _carId = $v.carId;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$AssignCarRequest _build() {
    final _$result = _$v ??
        _$AssignCarRequest._(
          carId: carId,
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
