Using Polymer Dart 1.0.0-rc.6, is there a difference or any recommendation about html imports using <link rel ...>
vs Dart's import syntax; import '...'
?
If I use Dart's import
, usually it will leave out a warning since I only import for the "side effect" of having the element loaded in Polymer, but not actually using it in Dart code, in which case I can suppress warnings by simply typing some class name that exists in the imported Dart Polymer element somewhere, followed by ;
, however some dart polymer elements don't have any classes exposed, so I can't suppress the warnings in such cases, for example: 'package:polymer_elements/iron_icons.dart'; has no exported classes which I can simply type out to suppress.
In other words, does it matter if I import the elements using dart's import mechanism, or via HTML import? are there any plans by the dart team to support suppressing such warnings?