// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'create_car_request.dart';

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

class _$CreateCarRequest extends CreateCarRequest {
  @override
  final String plate;

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

  _$CreateCarRequest._({required this.plate}) : super._();
  @override
  CreateCarRequest rebuild(void Function(CreateCarRequestBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

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

class CreateCarRequestBuilder
    implements Builder<CreateCarRequest, CreateCarRequestBuilder> {
  _$CreateCarRequest? _$v;

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

  CreateCarRequestBuilder() {
    CreateCarRequest._defaults(this);
  }

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

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

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
