build method

  1. @override
_$InlineObject2 build()
override

Builds.

The implementation of this method will be generated for you by the built_value generator.

Implementation

@override
_$InlineObject2 build() {
  _$InlineObject2 _$result;
  try {
    _$result = _$v ??
        new _$InlineObject2._(
            email: BuiltValueNullFieldError.checkNotNull(
                email, 'InlineObject2', 'email'),
            username: BuiltValueNullFieldError.checkNotNull(
                username, 'InlineObject2', 'username'),
            firstName: firstName,
            lastName: lastName,
            nickname: nickname,
            authData: authData,
            authService: authService,
            password: password,
            locale: locale,
            props: props,
            notifyProps: _notifyProps?.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'notifyProps';
      _notifyProps?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'InlineObject2', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}