// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'update_car_request.dart';

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

class _$UpdateCarRequest extends UpdateCarRequest {
  @override
  final bool? active;
  @override
  final String? plate;

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

  _$UpdateCarRequest._({this.active, this.plate}) : super._();
  @override
  UpdateCarRequest rebuild(void Function(UpdateCarRequestBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'UpdateCarRequest')
          ..add('active', active)
          ..add('plate', plate))
        .toString();
  }
}

class UpdateCarRequestBuilder
    implements Builder<UpdateCarRequest, UpdateCarRequestBuilder> {
  _$UpdateCarRequest? _$v;

  bool? _active;
  bool? get active => _$this._active;
  set active(bool? active) => _$this._active = active;

  String? _plate;
  String? get plate => _$this._plate;
  set plate(String? plate) => _$this._plate = plate;

  UpdateCarRequestBuilder() {
    UpdateCarRequest._defaults(this);
  }

  UpdateCarRequestBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _active = $v.active;
      _plate = $v.plate;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$UpdateCarRequest _build() {
    final _$result = _$v ??
        _$UpdateCarRequest._(
          active: active,
          plate: plate,
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
