Analyzer problem when using constructors in templates
mstepanov214 opened this issue · 0 comments
mstepanov214 commented
In my case:
DateTime identifier is defined in the exports section of the component, but analyzer displays a problem during data binding:
The method 'now' isn't defined for the class 'DateTime'.
Try correcting the name to the name of an existing method,
or defining a method named 'now'. dart(undefined_method)
- Dart SDK Version: 2.8.4
- AngularDart Version: 5.3.0