build method

  1. @override
_$SettingsProfileFormConfig build()
override

Builds.

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

Implementation

@override
_$SettingsProfileFormConfig build() {
  _$SettingsProfileFormConfig _$result;
  try {
    _$result = _$v ??
        new _$SettingsProfileFormConfig._(
            action: BuiltValueNullFieldError.checkNotNull(
                action, 'SettingsProfileFormConfig', 'action'),
            messages: _messages?.build(),
            method: BuiltValueNullFieldError.checkNotNull(
                method, 'SettingsProfileFormConfig', 'method'),
            nodes: nodes.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'messages';
      _messages?.build();

      _$failedField = 'nodes';
      nodes.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'SettingsProfileFormConfig', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}