I am happy with new feature in Dart.
But, I would like to use in web component (Polymer)
Like this:
file.dart
enum Categoria {ID, DESCRICAO, NATUREZA, ID_SUBCATEGORIA_DA, DESCRICAO_SUBCATEGORIA_DA, ATIVO}
@published
Map itemList;
file.html
..
<template>
<paper-input value="{{itemList[Categoria.ID]}}"></paper-input>
</template>
<script type="application/dart" src="file.dart">
</script>
..
In the value on @published there is a Map itemList and I would like to use the enum Categoria.ID for key to find the value of the Map.
It´s possible in Web Component (polymer)?