I'm using Flutter and I have a JSON like below:
var json = {
"key1": {"key": [1,2,3]},
"key2": {"key": [4,5,7]},
"key3": {"key": [8,9,10]},
}
I know that, for example, I can retrieve {"key": [4,5,7]} just by calling json["key2"].
But i'm asking, is it possible to retrieve it by using its index position, just like json[1]?
"key1", "key2"etc, are sample key names for this example. In reality, the"key1", "key2"etc, are unique id values.