angulardart/angular

Analyzer problem when using constructors in templates

mstepanov214 opened this issue · 0 comments

In my case:
DateTime identifier is defined in the exports section of the component, but analyzer displays a problem during data binding:

image

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