function main


Future<Zone> main()

Returns a Future that code should be executed in for dirty checking. The returned future will complete once polymer is ready and all @initMethod and @whenPolymerReady functions have been executed.

Source

Future<Zone> main() =>
    initPolymer().then((zone) => Polymer.onReady.then((_) => zone));