We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am not sure why this is happening but for only some generated classes, I get this error.
ListBuilder<Event>? _events; ListBuilder<Event> get events => _$this._events ??= new ListBuilder<Event>(); void Function() onSet = () {}; set events(ListBuilder<Event>? events) { _$this._events = events; onSet(); }
There are same onSet definitions for every field.
onSet
The text was updated successfully, but these errors were encountered:
This is happening when @BuiltValue(generateBuilderOnSetField: true).
@BuiltValue(generateBuilderOnSetField: true)
Sorry, something went wrong.
Have you defined something yourself in the class called onSet? That would be one possible explanation ;)
No :)
davidmorgan
No branches or pull requests
I am not sure why this is happening but for only some generated classes, I get this error.
There are same
onSet
definitions for every field.The text was updated successfully, but these errors were encountered: