build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$User build() {
_$User _$result;
try {
_$result = _$v ??
new _$User._(
id: id,
createAt: createAt,
updateAt: updateAt,
deleteAt: deleteAt,
username: username,
firstName: firstName,
lastName: lastName,
nickname: nickname,
email: email,
emailVerified: emailVerified,
authService: authService,
roles: roles,
locale: locale,
notifyProps: _notifyProps?.build(),
props: props,
lastPasswordUpdate: lastPasswordUpdate,
lastPictureUpdate: lastPictureUpdate,
failedAttempts: failedAttempts,
mfaActive: mfaActive,
timezone: _timezone?.build(),
termsOfServiceId: termsOfServiceId,
termsOfServiceCreateAt: termsOfServiceCreateAt);
} catch (_) {
late String _$failedField;
try {
_$failedField = 'notifyProps';
_notifyProps?.build();
_$failedField = 'timezone';
_timezone?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'User', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}