Getters must be declared without a parameter list.
Closed this issue · 2 comments
MichalTorma commented
First of all thanks for the tool. It's awesome.
I found a problem when parsing keys with a parameter list. Could this be handled by some regex in generated key names perhaps?
input example:
{"Shape.STArea()": "Shape.STArea()"}
output:
Error: Could not format because the source could not be parsed:
line 14, column 68: Getters must be declared without a parameter list.
@BuiltValueField(wireName: 'Shape.STArea()') String get shapeSTArea();
^
I can work around it of course - it would just be nice 😄
MichalTorma commented
I've just realized that this is build_value's fault.
You can close the issue
charafau commented
Thanks for issue anyway!