I find out that I need to call
super.attached() inside polymer behaviors (documentation remains silent about that). When I do this the WebStorm shows me the warning
method 'attached' is not defined in superclass. My behavior implements only
PolymerBase but lifecycle callbacks are not defined there. How to avoid the warning?
attached() is from the
Element class in
dart:html, just add it to the implements clause.
Answered By – Günter Zöchbauer
Answer Checked By – Timothy Miller (FlutterFixes Admin)