The transformer currently don't allow property names like operator and other pseudo keywords. I haven't tried this, but the fix might just require changing isValid in property_utils as follows:
- bool isValid(String name) => !Keyword.keywords.containsKey(name);
+ bool isValid(String name) {
+ var keyword = Keyword.keywords[name];
+ return keyword == null || keyword.isPseudoKeyword;
+ }
/cc @kegluneq