// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'customer_contact.dart';

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

class _$CustomerContact extends CustomerContact {
  @override
  final String customerId;
  @override
  final String? email;
  @override
  final String id;
  @override
  final String name;
  @override
  final String? phone;

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

  _$CustomerContact._(
      {required this.customerId,
      this.email,
      required this.id,
      required this.name,
      this.phone})
      : super._();
  @override
  CustomerContact rebuild(void Function(CustomerContactBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is CustomerContact &&
        customerId == other.customerId &&
        email == other.email &&
        id == other.id &&
        name == other.name &&
        phone == other.phone;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, customerId.hashCode);
    _$hash = $jc(_$hash, email.hashCode);
    _$hash = $jc(_$hash, id.hashCode);
    _$hash = $jc(_$hash, name.hashCode);
    _$hash = $jc(_$hash, phone.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'CustomerContact')
          ..add('customerId', customerId)
          ..add('email', email)
          ..add('id', id)
          ..add('name', name)
          ..add('phone', phone))
        .toString();
  }
}

class CustomerContactBuilder
    implements Builder<CustomerContact, CustomerContactBuilder> {
  _$CustomerContact? _$v;

  String? _customerId;
  String? get customerId => _$this._customerId;
  set customerId(String? customerId) => _$this._customerId = customerId;

  String? _email;
  String? get email => _$this._email;
  set email(String? email) => _$this._email = email;

  String? _id;
  String? get id => _$this._id;
  set id(String? id) => _$this._id = id;

  String? _name;
  String? get name => _$this._name;
  set name(String? name) => _$this._name = name;

  String? _phone;
  String? get phone => _$this._phone;
  set phone(String? phone) => _$this._phone = phone;

  CustomerContactBuilder() {
    CustomerContact._defaults(this);
  }

  CustomerContactBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _customerId = $v.customerId;
      _email = $v.email;
      _id = $v.id;
      _name = $v.name;
      _phone = $v.phone;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$CustomerContact _build() {
    final _$result = _$v ??
        _$CustomerContact._(
          customerId: BuiltValueNullFieldError.checkNotNull(
              customerId, r'CustomerContact', 'customerId'),
          email: email,
          id: BuiltValueNullFieldError.checkNotNull(
              id, r'CustomerContact', 'id'),
          name: BuiltValueNullFieldError.checkNotNull(
              name, r'CustomerContact', 'name'),
          phone: phone,
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
