build method

  1. @override
_$Keyword build()
override

Builds.

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

Implementation

@override
_$Keyword build() {
  _$Keyword _$result;
  try {
    _$result = _$v ??
        new _$Keyword._(
            keywordType: BuiltValueNullFieldError.checkNotNull(
                keywordType, 'Keyword', 'keywordType'),
            syntaxSpan: syntaxSpan.build(),
            error: _error?.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'syntaxSpan';
      syntaxSpan.build();
      _$failedField = 'error';
      _error?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'Keyword', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}