Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Analyzer problem when using constructors in templates #1895

Open
mstepanov214 opened this issue Jun 17, 2020 · 0 comments
Open

Analyzer problem when using constructors in templates #1895

mstepanov214 opened this issue Jun 17, 2020 · 0 comments

Comments

@mstepanov214
Copy link

mstepanov214 commented Jun 17, 2020

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant