build method

  1. @override
_$SyntaxSpan build()
override

Builds.

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

Implementation

@override
_$SyntaxSpan build() {
  _$SyntaxSpan _$result;
  try {
    _$result = _$v ?? new _$SyntaxSpan._(from: from.build(), to: to.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'from';
      from.build();
      _$failedField = 'to';
      to.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'SyntaxSpan', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}