// GENERATED CODE - DO NOT MODIFY BY HAND part of 'user_entity.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** class _$UserEntity extends UserEntity { @override final String name; @override final String id; factory _$UserEntity([void Function(UserEntityBuilder)? updates]) => (UserEntityBuilder()..update(updates))._build(); _$UserEntity._({required this.name, required this.id}) : super._(); @override UserEntity rebuild(void Function(UserEntityBuilder) updates) => (toBuilder()..update(updates)).build(); @override UserEntityBuilder toBuilder() => UserEntityBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; return other is UserEntity && name == other.name && id == other.id; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, name.hashCode); _$hash = $jc(_$hash, id.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { return (newBuiltValueToStringHelper(r'UserEntity') ..add('name', name) ..add('id', id)) .toString(); } } class UserEntityBuilder implements Builder { _$UserEntity? _$v; String? _name; String? get name => _$this._name; set name(String? name) => _$this._name = name; String? _id; String? get id => _$this._id; set id(String? id) => _$this._id = id; UserEntityBuilder() { UserEntity._defaults(this); } UserEntityBuilder get _$this { final $v = _$v; if ($v != null) { _name = $v.name; _id = $v.id; _$v = null; } return this; } @override void replace(UserEntity other) { _$v = other as _$UserEntity; } @override void update(void Function(UserEntityBuilder)? updates) { if (updates != null) updates(this); } @override UserEntity build() => _build(); _$UserEntity _build() { final _$result = _$v ?? _$UserEntity._( name: BuiltValueNullFieldError.checkNotNull( name, r'UserEntity', 'name'), id: BuiltValueNullFieldError.checkNotNull(id, r'UserEntity', 'id'), ); replace(_$result); return _$result; } } // ignore_for_file: deprecated_member_use_from_same_package,type=lint