how can I map this json in Dart? This json is the response.data of a get request with Dio library in Flutter.
[
{
"getPlayersFilterResult":
{
"Players": [{p1},{p2},..]
}
},
{
"getTeamsFilterResult":
{
"Teams": [{t1},{t2},..]
}
}]
That json is a list with two different object (with different attributes).