Skip to content

Instantly share code, notes, and snippets.

@dpossas
Created April 2, 2020 14:29
Show Gist options
  • Save dpossas/c9b77bde952e7b635313913ea482ae46 to your computer and use it in GitHub Desktop.
Save dpossas/c9b77bde952e7b635313913ea482ae46 to your computer and use it in GitHub Desktop.
thiagoramos-list
void main() {
List historico_diagnostico = [
{
"Deep Security": [
[9, 73.33],
[10, 56.34]
]
},
{
"Apex One": [
[10, 100.0]
]
},
{
"OfficeScan": [
[10, 22.22]
]
}
];
for (var aux in historico_diagnostico) {
for (var variable in aux.entries) {
print(variable.key);
for (var valores in variable.value) {
print(valores);
print(valores[0]);
print(valores[1]);
List listaPontos = List();
listaPontos.add(1);
print(listaPontos);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment