// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'services_list.dart';

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

class _$ServicesList extends ServicesList {
  @override
  final BuiltList<Service> services;

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

  _$ServicesList._({required this.services}) : super._();
  @override
  ServicesList rebuild(void Function(ServicesListBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

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

class ServicesListBuilder
    implements Builder<ServicesList, ServicesListBuilder> {
  _$ServicesList? _$v;

  ListBuilder<Service>? _services;
  ListBuilder<Service> get services =>
      _$this._services ??= ListBuilder<Service>();
  set services(ListBuilder<Service>? services) => _$this._services = services;

  ServicesListBuilder() {
    ServicesList._defaults(this);
  }

  ServicesListBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _services = $v.services.toBuilder();
      _$v = null;
    }
    return this;
  }

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

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

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

  _$ServicesList _build() {
    _$ServicesList _$result;
    try {
      _$result = _$v ??
          _$ServicesList._(
            services: services.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'services';
        services.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
            r'ServicesList', _$failedField, e.toString());
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
