build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$SyntaxError build() {
_$SyntaxError _$result;
try {
_$result = _$v ??
new _$SyntaxError._(
position: position.build(),
message: BuiltValueNullFieldError.checkNotNull(
message, 'SyntaxError', 'message'));
} catch (_) {
late String _$failedField;
try {
_$failedField = 'position';
position.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'SyntaxError', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}